pub struct DisparitySignallingSegment {
pub page_id: u16,
pub dss_version_number: u8,
pub update_sequence_page_flag: bool,
pub reserved: u8,
pub page_default_disparity_shift: i8,
pub page_update_sequence: Option<DisparityShiftUpdateSequence>,
pub regions: Vec<DisparityRegion>,
}Expand description
Disparity Signalling Segment.
Fields§
§page_id: u16The page_id from the segment header.
dss_version_number: u8DSS version number (modulo 16).
update_sequence_page_flag: boolWhether a page-level update sequence follows.
reserved: u8Reserved bits in body byte 0 (bits [2:0]).
page_default_disparity_shift: i8Default disparity shift for the whole page (signed).
page_update_sequence: Option<DisparityShiftUpdateSequence>Page-level update sequence if flag is set.
regions: Vec<DisparityRegion>Region entries.
Trait Implementations§
Source§impl Clone for DisparitySignallingSegment
impl Clone for DisparitySignallingSegment
Source§fn clone(&self) -> DisparitySignallingSegment
fn clone(&self) -> DisparitySignallingSegment
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 DisparitySignallingSegment
impl Debug for DisparitySignallingSegment
impl Eq for DisparitySignallingSegment
Source§impl<'a> From<DisparitySignallingSegment> for AnySegment<'a>
impl<'a> From<DisparitySignallingSegment> for AnySegment<'a>
Source§fn from(s: DisparitySignallingSegment) -> Self
fn from(s: DisparitySignallingSegment) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for DisparitySignallingSegment
impl<'a> Parse<'a> for DisparitySignallingSegment
Source§impl PartialEq for DisparitySignallingSegment
impl PartialEq for DisparitySignallingSegment
Source§fn eq(&self, other: &DisparitySignallingSegment) -> bool
fn eq(&self, other: &DisparitySignallingSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> SegmentDef<'a> for DisparitySignallingSegment
impl<'a> SegmentDef<'a> for DisparitySignallingSegment
Source§impl Serialize for DisparitySignallingSegment
impl Serialize for DisparitySignallingSegment
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 DisparitySignallingSegment
Auto Trait Implementations§
impl Freeze for DisparitySignallingSegment
impl RefUnwindSafe for DisparitySignallingSegment
impl Send for DisparitySignallingSegment
impl Sync for DisparitySignallingSegment
impl Unpin for DisparitySignallingSegment
impl UnsafeUnpin for DisparitySignallingSegment
impl UnwindSafe for DisparitySignallingSegment
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