pub enum Content {
Speech = 0,
Music = 1,
}Expand description
Music/speech (M/S) switch code. See the RBDS Standard section 3.2.1.4.
Variants§
Trait Implementations§
Source§impl Specifier for Content
impl Specifier for Content
const STRUCT: bool = /// Music/speech (M/S) switch code. /// See the RBDS Standard section 3.2.1.4. #[derive(BitfieldSpecifier, Debug, Default, Clone, Copy, PartialEq, Eq)] #[bits = 1] pub enum Content { Speech = 0, #[default] Music = 1, }
Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
Source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for Content
impl Eq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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