Struct type_enum::EmptyDescriptor
source · pub struct EmptyDescriptor;
Expand description
A list that contains no types.
Trait Implementations§
source§impl Clone for EmptyDescriptor
impl Clone for EmptyDescriptor
source§fn clone(&self) -> EmptyDescriptor
fn clone(&self) -> EmptyDescriptor
Returns a copy 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 EmptyDescriptor
impl Debug for EmptyDescriptor
source§impl Default for EmptyDescriptor
impl Default for EmptyDescriptor
source§fn default() -> EmptyDescriptor
fn default() -> EmptyDescriptor
Returns the “default value” for a type. Read more
source§impl PartialEq for EmptyDescriptor
impl PartialEq for EmptyDescriptor
source§fn eq(&self, other: &EmptyDescriptor) -> bool
fn eq(&self, other: &EmptyDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EmptyDescriptor
impl Eq for EmptyDescriptor
impl StructuralPartialEq for EmptyDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for EmptyDescriptor
impl Send for EmptyDescriptor
impl Sync for EmptyDescriptor
impl Unpin for EmptyDescriptor
impl UnwindSafe for EmptyDescriptor
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> TypeEnumDescriptor for Twhere
T: ListDescriptor,
impl<T> TypeEnumDescriptor for Twhere
T: ListDescriptor,
source§const TYPE_IDS: &'static [TypeVariant<T>] = const TYPE_IDS: &'static [TypeVariant<Self>] = create_type_id_list::<Self>();
const TYPE_IDS: &'static [TypeVariant<T>] = const TYPE_IDS: &'static [TypeVariant<Self>] = create_type_id_list::<Self>();
The IDs of all types in this list.