#[non_exhaustive]pub struct ContentNibble {
pub level_1: u8,
pub level_2: u8,
pub user: u8,
}Expand description
A content genre nibble triplet from a
ContentDescriptor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.level_1: u8Content nibble level 1 (category).
level_2: u8Content nibble level 2 (sub-category).
user: u8User-defined byte.
Trait Implementations§
Source§impl Clone for ContentNibble
impl Clone for ContentNibble
Source§fn clone(&self) -> ContentNibble
fn clone(&self) -> ContentNibble
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 moreSource§impl Debug for ContentNibble
impl Debug for ContentNibble
impl Eq for ContentNibble
Source§impl PartialEq for ContentNibble
impl PartialEq for ContentNibble
Source§fn eq(&self, other: &ContentNibble) -> bool
fn eq(&self, other: &ContentNibble) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentNibble
impl Serialize for ContentNibble
impl StructuralPartialEq for ContentNibble
Auto Trait Implementations§
impl Freeze for ContentNibble
impl RefUnwindSafe for ContentNibble
impl Send for ContentNibble
impl Sync for ContentNibble
impl Unpin for ContentNibble
impl UnsafeUnpin for ContentNibble
impl UnwindSafe for ContentNibble
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