pub struct EnumDefinition<'a>(/* private fields */);
Implementations§
Source§impl<'a> EnumDefinition<'a>
impl<'a> EnumDefinition<'a>
Source§impl EnumDefinition<'_>
impl EnumDefinition<'_>
pub fn id(&self) -> EnumDefinitionId
Trait Implementations§
Source§impl<'a> Clone for EnumDefinition<'a>
impl<'a> Clone for EnumDefinition<'a>
Source§fn clone(&self) -> EnumDefinition<'a>
fn clone(&self) -> EnumDefinition<'a>
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 EnumDefinition<'_>
impl Debug for EnumDefinition<'_>
Source§impl IdReader for EnumDefinition<'_>
impl IdReader for EnumDefinition<'_>
type Id = EnumDefinitionId
type Reader<'a> = EnumDefinition<'a>
fn new(id: Self::Id, document: &TypeSystemDocument) -> Self::Reader<'_>
impl<'a> Copy for EnumDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnumDefinition<'a>
impl<'a> RefUnwindSafe for EnumDefinition<'a>
impl<'a> Send for EnumDefinition<'a>
impl<'a> Sync for EnumDefinition<'a>
impl<'a> Unpin for EnumDefinition<'a>
impl<'a> UnwindSafe for EnumDefinition<'a>
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