pub struct TransformSpec {
pub id: u16,
pub name: &'static str,
pub selectable: bool,
pub use_quick_check: bool,
pub enabled: fn(&FileTransformConfig) -> bool,
pub build: fn(&FileTransformConfig) -> Arc<dyn FileTransform>,
}Fields§
§id: u16§name: &'static str§selectable: bool§use_quick_check: bool§enabled: fn(&FileTransformConfig) -> bool§build: fn(&FileTransformConfig) -> Arc<dyn FileTransform>Trait Implementations§
Source§impl Clone for TransformSpec
impl Clone for TransformSpec
Source§fn clone(&self) -> TransformSpec
fn clone(&self) -> TransformSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransformSpec
Auto Trait Implementations§
impl Freeze for TransformSpec
impl RefUnwindSafe for TransformSpec
impl Send for TransformSpec
impl Sync for TransformSpec
impl Unpin for TransformSpec
impl UnsafeUnpin for TransformSpec
impl UnwindSafe for TransformSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more