pub struct AlternativeClutSegment {
pub page_id: u16,
pub clut_id: u8,
pub clut_version_number: u8,
pub reserved: u8,
pub clut_parameters: ClutParameters,
pub entries: Vec<AlternativeClutEntry>,
}Expand description
Alternative CLUT Segment.
Fields§
§page_id: u16The page_id from the segment header.
clut_id: u8CLUT family identifier.
clut_version_number: u8CLUT version number (modulo 16).
reserved: u8Reserved bits in body byte 1 (bits [3:0]).
clut_parameters: ClutParametersCLUT parameters.
entries: Vec<AlternativeClutEntry>CLUT entries.
Trait Implementations§
Source§impl Clone for AlternativeClutSegment
impl Clone for AlternativeClutSegment
Source§fn clone(&self) -> AlternativeClutSegment
fn clone(&self) -> AlternativeClutSegment
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 AlternativeClutSegment
impl Debug for AlternativeClutSegment
impl Eq for AlternativeClutSegment
Source§impl<'a> From<AlternativeClutSegment> for AnySegment<'a>
impl<'a> From<AlternativeClutSegment> for AnySegment<'a>
Source§fn from(s: AlternativeClutSegment) -> Self
fn from(s: AlternativeClutSegment) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for AlternativeClutSegment
impl<'a> Parse<'a> for AlternativeClutSegment
Source§impl PartialEq for AlternativeClutSegment
impl PartialEq for AlternativeClutSegment
Source§fn eq(&self, other: &AlternativeClutSegment) -> bool
fn eq(&self, other: &AlternativeClutSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> SegmentDef<'a> for AlternativeClutSegment
impl<'a> SegmentDef<'a> for AlternativeClutSegment
Source§impl Serialize for AlternativeClutSegment
impl Serialize for AlternativeClutSegment
Source§impl Serialize for AlternativeClutSegment
impl Serialize for AlternativeClutSegment
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for AlternativeClutSegment
Auto Trait Implementations§
impl Freeze for AlternativeClutSegment
impl RefUnwindSafe for AlternativeClutSegment
impl Send for AlternativeClutSegment
impl Sync for AlternativeClutSegment
impl Unpin for AlternativeClutSegment
impl UnsafeUnpin for AlternativeClutSegment
impl UnwindSafe for AlternativeClutSegment
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