pub struct ShapeAdditionalFields<'input> {
pub ellipsis: Span,
pub parameters: Option<GenericParameters<'input>>,
}Fields§
§ellipsis: Span§parameters: Option<GenericParameters<'input>>Trait Implementations§
Source§impl<'input> Clone for ShapeAdditionalFields<'input>
impl<'input> Clone for ShapeAdditionalFields<'input>
Source§fn clone(&self) -> ShapeAdditionalFields<'input>
fn clone(&self) -> ShapeAdditionalFields<'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 ShapeAdditionalFields<'input>
impl<'input> Debug for ShapeAdditionalFields<'input>
Source§impl Display for ShapeAdditionalFields<'_>
impl Display for ShapeAdditionalFields<'_>
Source§impl HasSpan for ShapeAdditionalFields<'_>
impl HasSpan for ShapeAdditionalFields<'_>
Source§impl<'input> Hash for ShapeAdditionalFields<'input>
impl<'input> Hash for ShapeAdditionalFields<'input>
Source§impl<'input> Ord for ShapeAdditionalFields<'input>
impl<'input> Ord for ShapeAdditionalFields<'input>
Source§fn cmp(&self, other: &ShapeAdditionalFields<'input>) -> Ordering
fn cmp(&self, other: &ShapeAdditionalFields<'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 ShapeAdditionalFields<'input>
impl<'input> PartialEq for ShapeAdditionalFields<'input>
Source§fn eq(&self, other: &ShapeAdditionalFields<'input>) -> bool
fn eq(&self, other: &ShapeAdditionalFields<'input>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'input> PartialOrd for ShapeAdditionalFields<'input>
impl<'input> PartialOrd for ShapeAdditionalFields<'input>
Source§impl<'input> Serialize for ShapeAdditionalFields<'input>
impl<'input> Serialize for ShapeAdditionalFields<'input>
impl<'input> Eq for ShapeAdditionalFields<'input>
impl<'input> StructuralPartialEq for ShapeAdditionalFields<'input>
Auto Trait Implementations§
impl<'input> Freeze for ShapeAdditionalFields<'input>
impl<'input> RefUnwindSafe for ShapeAdditionalFields<'input>
impl<'input> Send for ShapeAdditionalFields<'input>
impl<'input> Sync for ShapeAdditionalFields<'input>
impl<'input> Unpin for ShapeAdditionalFields<'input>
impl<'input> UnwindSafe for ShapeAdditionalFields<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> HasPosition for Twhere
T: HasSpan,
impl<T> HasPosition for Twhere
T: HasSpan,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more