pub struct Tuple {
pub fields: Vec<TupleField>,
}Expand description
Tuple
Fields§
§fields: Vec<TupleField>Implementations§
Source§impl Tuple
impl Tuple
pub fn new() -> Self
pub fn add(&mut self, field: TupleField)
pub fn set(&mut self, index: usize, f: TupleField) -> Result<(), EncodeError>
pub fn get(&self, index: usize) -> Result<TupleField, DecodeError>
pub fn clear(&mut self)
pub fn from_utf8_path(path: &str) -> Self
pub fn to_utf8_path(&self) -> String
Trait Implementations§
impl Eq for Tuple
impl StructuralPartialEq for Tuple
Auto Trait Implementations§
impl Freeze for Tuple
impl RefUnwindSafe for Tuple
impl Send for Tuple
impl Sync for Tuple
impl Unpin for Tuple
impl UnsafeUnpin for Tuple
impl UnwindSafe for Tuple
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.