#[repr(C)]pub struct ShapeType<'input> {
pub kind: ShapeTypeKind,
pub keyword: Keyword<'input>,
pub left_brace: Span,
pub fields: Vec<ShapeField<'input>>,
pub additional_fields: Option<ShapeAdditionalFields<'input>>,
pub right_brace: Span,
}Fields§
§kind: ShapeTypeKind§keyword: Keyword<'input>§left_brace: Span§fields: Vec<ShapeField<'input>>§additional_fields: Option<ShapeAdditionalFields<'input>>§right_brace: SpanImplementations§
Trait Implementations§
Source§impl<'input> Ord for ShapeType<'input>
impl<'input> Ord for ShapeType<'input>
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<'input> PartialOrd for ShapeType<'input>
impl<'input> PartialOrd for ShapeType<'input>
impl<'input> Eq for ShapeType<'input>
impl<'input> StructuralPartialEq for ShapeType<'input>
Auto Trait Implementations§
impl<'input> Freeze for ShapeType<'input>
impl<'input> RefUnwindSafe for ShapeType<'input>
impl<'input> Send for ShapeType<'input>
impl<'input> Sync for ShapeType<'input>
impl<'input> Unpin for ShapeType<'input>
impl<'input> UnwindSafe for ShapeType<'input>
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