pub struct TupleElement {
pub type_id: TypeId,
pub name: Option<Atom>,
pub optional: bool,
pub rest: bool,
}Expand description
Tuple element information
Fields§
§type_id: TypeId§name: Option<Atom>§optional: bool§rest: boolTrait Implementations§
Source§impl Clone for TupleElement
impl Clone for TupleElement
Source§fn clone(&self) -> TupleElement
fn clone(&self) -> TupleElement
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 Debug for TupleElement
impl Debug for TupleElement
Source§impl Hash for TupleElement
impl Hash for TupleElement
Source§impl PartialEq for TupleElement
impl PartialEq for TupleElement
impl Eq for TupleElement
impl StructuralPartialEq for TupleElement
Auto Trait Implementations§
impl Freeze for TupleElement
impl RefUnwindSafe for TupleElement
impl Send for TupleElement
impl Sync for TupleElement
impl Unpin for TupleElement
impl UnsafeUnpin for TupleElement
impl UnwindSafe for TupleElement
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.