pub struct ModuleItemGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
Source§impl Clone for ModuleItemGreen
impl Clone for ModuleItemGreen
Source§fn clone(&self) -> ModuleItemGreen
fn clone(&self) -> ModuleItemGreen
Returns a copy 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 Debug for ModuleItemGreen
impl Debug for ModuleItemGreen
Source§impl From<FunctionWithBodyGreen> for ModuleItemGreen
impl From<FunctionWithBodyGreen> for ModuleItemGreen
Source§fn from(value: FunctionWithBodyGreen) -> Self
fn from(value: FunctionWithBodyGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemConstantGreen> for ModuleItemGreen
impl From<ItemConstantGreen> for ModuleItemGreen
Source§fn from(value: ItemConstantGreen) -> Self
fn from(value: ItemConstantGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemEnumGreen> for ModuleItemGreen
impl From<ItemEnumGreen> for ModuleItemGreen
Source§fn from(value: ItemEnumGreen) -> Self
fn from(value: ItemEnumGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemExternFunctionGreen> for ModuleItemGreen
impl From<ItemExternFunctionGreen> for ModuleItemGreen
Source§fn from(value: ItemExternFunctionGreen) -> Self
fn from(value: ItemExternFunctionGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemExternTypeGreen> for ModuleItemGreen
impl From<ItemExternTypeGreen> for ModuleItemGreen
Source§fn from(value: ItemExternTypeGreen) -> Self
fn from(value: ItemExternTypeGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemHeaderDocGreen> for ModuleItemGreen
impl From<ItemHeaderDocGreen> for ModuleItemGreen
Source§fn from(value: ItemHeaderDocGreen) -> Self
fn from(value: ItemHeaderDocGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemImplAliasGreen> for ModuleItemGreen
impl From<ItemImplAliasGreen> for ModuleItemGreen
Source§fn from(value: ItemImplAliasGreen) -> Self
fn from(value: ItemImplAliasGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemImplGreen> for ModuleItemGreen
impl From<ItemImplGreen> for ModuleItemGreen
Source§fn from(value: ItemImplGreen) -> Self
fn from(value: ItemImplGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemInlineMacroGreen> for ModuleItemGreen
impl From<ItemInlineMacroGreen> for ModuleItemGreen
Source§fn from(value: ItemInlineMacroGreen) -> Self
fn from(value: ItemInlineMacroGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemModuleGreen> for ModuleItemGreen
impl From<ItemModuleGreen> for ModuleItemGreen
Source§fn from(value: ItemModuleGreen) -> Self
fn from(value: ItemModuleGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemStructGreen> for ModuleItemGreen
impl From<ItemStructGreen> for ModuleItemGreen
Source§fn from(value: ItemStructGreen) -> Self
fn from(value: ItemStructGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemTraitGreen> for ModuleItemGreen
impl From<ItemTraitGreen> for ModuleItemGreen
Source§fn from(value: ItemTraitGreen) -> Self
fn from(value: ItemTraitGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemTypeAliasGreen> for ModuleItemGreen
impl From<ItemTypeAliasGreen> for ModuleItemGreen
Source§fn from(value: ItemTypeAliasGreen) -> Self
fn from(value: ItemTypeAliasGreen) -> Self
Converts to this type from the input type.
Source§impl From<ItemUseGreen> for ModuleItemGreen
impl From<ItemUseGreen> for ModuleItemGreen
Source§fn from(value: ItemUseGreen) -> Self
fn from(value: ItemUseGreen) -> Self
Converts to this type from the input type.
Source§impl From<ModuleItemMissingGreen> for ModuleItemGreen
impl From<ModuleItemMissingGreen> for ModuleItemGreen
Source§fn from(value: ModuleItemMissingGreen) -> Self
fn from(value: ModuleItemMissingGreen) -> Self
Converts to this type from the input type.
Source§impl Hash for ModuleItemGreen
impl Hash for ModuleItemGreen
Source§impl PartialEq for ModuleItemGreen
impl PartialEq for ModuleItemGreen
impl Copy for ModuleItemGreen
impl Eq for ModuleItemGreen
impl StructuralPartialEq for ModuleItemGreen
Auto Trait Implementations§
impl Freeze for ModuleItemGreen
impl RefUnwindSafe for ModuleItemGreen
impl Send for ModuleItemGreen
impl Sync for ModuleItemGreen
impl Unpin for ModuleItemGreen
impl UnwindSafe for ModuleItemGreen
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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