Struct schema_ast::ast::FieldId
source · pub struct FieldId(/* private fields */);
Expand description
An opaque identifier for a field in an AST model. Use the
model[field_id]
syntax to resolve the id to an ast::Field
.
Implementations§
Trait Implementations§
source§impl Index<FieldId> for CompositeType
impl Index<FieldId> for CompositeType
source§impl Ord for FieldId
impl Ord for FieldId
source§impl PartialEq for FieldId
impl PartialEq for FieldId
source§impl PartialOrd for FieldId
impl PartialOrd for FieldId
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 FieldId
impl Eq for FieldId
impl StructuralEq for FieldId
impl StructuralPartialEq for FieldId
Auto Trait Implementations§
impl RefUnwindSafe for FieldId
impl Send for FieldId
impl Sync for FieldId
impl Unpin for FieldId
impl UnwindSafe for FieldId
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