pub struct SwiftTupleElement {
pub label: Option<String>,
pub type: SwiftTypeEvidence,
}Expand description
One tuple element.
Fields§
§label: Option<String>Optional label.
type: SwiftTypeEvidenceElement type.
Trait Implementations§
Source§impl Clone for SwiftTupleElement
impl Clone for SwiftTupleElement
Source§fn clone(&self) -> SwiftTupleElement
fn clone(&self) -> SwiftTupleElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwiftTupleElement
impl Debug for SwiftTupleElement
impl Eq for SwiftTupleElement
Source§impl Hash for SwiftTupleElement
impl Hash for SwiftTupleElement
Source§impl Ord for SwiftTupleElement
impl Ord for SwiftTupleElement
Source§fn cmp(&self, other: &SwiftTupleElement) -> Ordering
fn cmp(&self, other: &SwiftTupleElement) -> Ordering
1.21.0 (const: unstable) · 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 SwiftTupleElement
impl PartialEq for SwiftTupleElement
Source§impl PartialOrd for SwiftTupleElement
impl PartialOrd for SwiftTupleElement
impl StructuralPartialEq for SwiftTupleElement
Auto Trait Implementations§
impl Freeze for SwiftTupleElement
impl RefUnwindSafe for SwiftTupleElement
impl Send for SwiftTupleElement
impl Sync for SwiftTupleElement
impl Unpin for SwiftTupleElement
impl UnsafeUnpin for SwiftTupleElement
impl UnwindSafe for SwiftTupleElement
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