pub enum Descriptor<'a> {
Single(BasicType<'a>),
Array {
levels: usize,
inner: BasicType<'a>,
},
}Variants§
Trait Implementations§
Source§impl<'a> Clone for Descriptor<'a>
impl<'a> Clone for Descriptor<'a>
Source§fn clone(&self) -> Descriptor<'a>
fn clone(&self) -> Descriptor<'a>
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<'a> Debug for Descriptor<'a>
impl<'a> Debug for Descriptor<'a>
Source§impl<'a> Hash for Descriptor<'a>
impl<'a> Hash for Descriptor<'a>
Source§impl<'a> Ord for Descriptor<'a>
impl<'a> Ord for Descriptor<'a>
Source§fn cmp(&self, other: &Descriptor<'a>) -> Ordering
fn cmp(&self, other: &Descriptor<'a>) -> 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<'a> PartialEq for Descriptor<'a>
impl<'a> PartialEq for Descriptor<'a>
Source§impl<'a> PartialOrd for Descriptor<'a>
impl<'a> PartialOrd for Descriptor<'a>
impl<'a> Copy for Descriptor<'a>
impl<'a> Eq for Descriptor<'a>
impl<'a> StructuralPartialEq for Descriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for Descriptor<'a>
impl<'a> RefUnwindSafe for Descriptor<'a>
impl<'a> Send for Descriptor<'a>
impl<'a> Sync for Descriptor<'a>
impl<'a> Unpin for Descriptor<'a>
impl<'a> UnwindSafe for Descriptor<'a>
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