#[repr(C)]pub struct ShapeFieldKey<'input> {
pub name: Box<Type<'input>>,
pub question_mark: Option<Span>,
pub colon: Span,
}Fields§
§name: Box<Type<'input>>§question_mark: Option<Span>§colon: SpanTrait Implementations§
Source§impl<'input> Clone for ShapeFieldKey<'input>
impl<'input> Clone for ShapeFieldKey<'input>
Source§fn clone(&self) -> ShapeFieldKey<'input>
fn clone(&self) -> ShapeFieldKey<'input>
Returns a duplicate 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<'input> Debug for ShapeFieldKey<'input>
impl<'input> Debug for ShapeFieldKey<'input>
Source§impl Display for ShapeFieldKey<'_>
impl Display for ShapeFieldKey<'_>
Source§impl HasSpan for ShapeFieldKey<'_>
impl HasSpan for ShapeFieldKey<'_>
Source§impl<'input> Hash for ShapeFieldKey<'input>
impl<'input> Hash for ShapeFieldKey<'input>
Source§impl<'input> Ord for ShapeFieldKey<'input>
impl<'input> Ord for ShapeFieldKey<'input>
Source§fn cmp(&self, other: &ShapeFieldKey<'input>) -> Ordering
fn cmp(&self, other: &ShapeFieldKey<'input>) -> 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<'input> PartialEq for ShapeFieldKey<'input>
impl<'input> PartialEq for ShapeFieldKey<'input>
Source§impl<'input> PartialOrd for ShapeFieldKey<'input>
impl<'input> PartialOrd for ShapeFieldKey<'input>
Source§impl<'input> Serialize for ShapeFieldKey<'input>
impl<'input> Serialize for ShapeFieldKey<'input>
impl<'input> Eq for ShapeFieldKey<'input>
impl<'input> StructuralPartialEq for ShapeFieldKey<'input>
Auto Trait Implementations§
impl<'input> Freeze for ShapeFieldKey<'input>
impl<'input> RefUnwindSafe for ShapeFieldKey<'input>
impl<'input> Send for ShapeFieldKey<'input>
impl<'input> Sync for ShapeFieldKey<'input>
impl<'input> Unpin for ShapeFieldKey<'input>
impl<'input> UnwindSafe for ShapeFieldKey<'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