pub struct ModuleTraitDefinition<'lex> {
pub auto_import: bool,
pub definition: TraitDefinition<'lex>,
}Fields§
§auto_import: bool§definition: TraitDefinition<'lex>Trait Implementations§
Source§impl<'lex> Clone for ModuleTraitDefinition<'lex>
impl<'lex> Clone for ModuleTraitDefinition<'lex>
Source§fn clone(&self) -> ModuleTraitDefinition<'lex>
fn clone(&self) -> ModuleTraitDefinition<'lex>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'lex> Debug for ModuleTraitDefinition<'lex>
impl<'lex> Debug for ModuleTraitDefinition<'lex>
Source§impl<'lex> PartialEq for ModuleTraitDefinition<'lex>
impl<'lex> PartialEq for ModuleTraitDefinition<'lex>
impl<'lex> StructuralPartialEq for ModuleTraitDefinition<'lex>
Auto Trait Implementations§
impl<'lex> Freeze for ModuleTraitDefinition<'lex>
impl<'lex> RefUnwindSafe for ModuleTraitDefinition<'lex>
impl<'lex> Send for ModuleTraitDefinition<'lex>
impl<'lex> Sync for ModuleTraitDefinition<'lex>
impl<'lex> Unpin for ModuleTraitDefinition<'lex>
impl<'lex> UnwindSafe for ModuleTraitDefinition<'lex>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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