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