pub struct TrimStartFunc;
Trait Implementations§
Source§impl<'a> ChiselModule<'a> for TrimStartFunc
impl<'a> ChiselModule<'a> for TrimStartFunc
type ObjectReference = &'a dyn ModuleTranslator
fn kind(&'a self) -> ModuleKind
Source§fn as_abstract(&'a self) -> Self::ObjectReference
fn as_abstract(&'a self) -> Self::ObjectReference
Borrows the instance as a trait object.
Source§impl ModulePreset for TrimStartFunc
impl ModulePreset for TrimStartFunc
fn with_preset(preset: &str) -> Result<Self, ModuleError>
Source§impl ModuleTranslator for TrimStartFunc
impl ModuleTranslator for TrimStartFunc
Source§fn translate_inplace(&self, module: &mut Module) -> Result<bool, ModuleError>
fn translate_inplace(&self, module: &mut Module) -> Result<bool, ModuleError>
Translates module in-place. Returns true if the module was modified. Can fail with ModuleError::NotSupported.
Auto Trait Implementations§
impl Freeze for TrimStartFunc
impl RefUnwindSafe for TrimStartFunc
impl Send for TrimStartFunc
impl Sync for TrimStartFunc
impl Unpin for TrimStartFunc
impl UnwindSafe for TrimStartFunc
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more