#[non_exhaustive]pub enum SubDescriptorType {
Unallocated(u8),
}Expand description
Compatibility sub-descriptor type — ISO/IEC 13818-6.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for SubDescriptorType
impl Clone for SubDescriptorType
Source§fn clone(&self) -> SubDescriptorType
fn clone(&self) -> SubDescriptorType
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 moreimpl Copy for SubDescriptorType
Source§impl Debug for SubDescriptorType
impl Debug for SubDescriptorType
impl Eq for SubDescriptorType
Source§impl PartialEq for SubDescriptorType
impl PartialEq for SubDescriptorType
Source§fn eq(&self, other: &SubDescriptorType) -> bool
fn eq(&self, other: &SubDescriptorType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubDescriptorType
impl Serialize for SubDescriptorType
impl StructuralPartialEq for SubDescriptorType
Auto Trait Implementations§
impl Freeze for SubDescriptorType
impl RefUnwindSafe for SubDescriptorType
impl Send for SubDescriptorType
impl Sync for SubDescriptorType
impl Unpin for SubDescriptorType
impl UnsafeUnpin for SubDescriptorType
impl UnwindSafe for SubDescriptorType
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