Struct schema_ast::ast::GeneratorId
source · pub struct GeneratorId(/* private fields */);
Expand description
An opaque identifier for a generator block in a schema AST.
Trait Implementations§
source§impl Clone for GeneratorId
impl Clone for GeneratorId
source§fn clone(&self) -> GeneratorId
fn clone(&self) -> GeneratorId
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 GeneratorId
impl Debug for GeneratorId
source§impl Hash for GeneratorId
impl Hash for GeneratorId
source§impl Ord for GeneratorId
impl Ord for GeneratorId
source§fn cmp(&self, other: &GeneratorId) -> Ordering
fn cmp(&self, other: &GeneratorId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GeneratorId
impl PartialEq for GeneratorId
source§fn eq(&self, other: &GeneratorId) -> bool
fn eq(&self, other: &GeneratorId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GeneratorId
impl PartialOrd for GeneratorId
source§fn partial_cmp(&self, other: &GeneratorId) -> Option<Ordering>
fn partial_cmp(&self, other: &GeneratorId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GeneratorId
impl Eq for GeneratorId
impl StructuralEq for GeneratorId
impl StructuralPartialEq for GeneratorId
Auto Trait Implementations§
impl RefUnwindSafe for GeneratorId
impl Send for GeneratorId
impl Sync for GeneratorId
impl Unpin for GeneratorId
impl UnwindSafe for GeneratorId
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