pub struct TupleElementFragment { /* private fields */ }Expand description
One positional tuple member and its explicit-null policy.
Implementations§
Source§impl TupleElementFragment
impl TupleElementFragment
Sourcepub const fn new(field_type: FieldType, nullable: bool) -> TupleElementFragment
pub const fn new(field_type: FieldType, nullable: bool) -> TupleElementFragment
Construct one exact tuple-member contract.
Sourcepub const fn field_type(&self) -> &FieldType
pub const fn field_type(&self) -> &FieldType
Borrow the exact logical member type.
Trait Implementations§
Source§impl Clone for TupleElementFragment
impl Clone for TupleElementFragment
Source§fn clone(&self) -> TupleElementFragment
fn clone(&self) -> TupleElementFragment
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 TupleElementFragment
impl Debug for TupleElementFragment
impl Eq for TupleElementFragment
Source§impl PartialEq for TupleElementFragment
impl PartialEq for TupleElementFragment
impl StructuralPartialEq for TupleElementFragment
Auto Trait Implementations§
impl Freeze for TupleElementFragment
impl RefUnwindSafe for TupleElementFragment
impl Send for TupleElementFragment
impl Sync for TupleElementFragment
impl Unpin for TupleElementFragment
impl UnsafeUnpin for TupleElementFragment
impl UnwindSafe for TupleElementFragment
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.