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