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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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