pub struct ObjectDataSegment<'a> {
pub page_id: u16,
pub object_id: u16,
pub object_version_number: u8,
pub object_coding_method: ObjectCodingMethod,
pub non_modifying_colour_flag: bool,
pub payload: ObjectDataPayload<'a>,
}Expand description
Object Data Segment.
Fields§
§page_id: u16The page_id from the segment header.
object_id: u16Object identifier.
object_version_number: u8Object version number (modulo 16).
object_coding_method: ObjectCodingMethodObject coding method.
non_modifying_colour_flag: boolNon-modifying colour flag.
payload: ObjectDataPayload<'a>The payload data.
Trait Implementations§
Source§impl<'a> Clone for ObjectDataSegment<'a>
impl<'a> Clone for ObjectDataSegment<'a>
Source§fn clone(&self) -> ObjectDataSegment<'a>
fn clone(&self) -> ObjectDataSegment<'a>
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<'a> Debug for ObjectDataSegment<'a>
impl<'a> Debug for ObjectDataSegment<'a>
impl<'a> Eq for ObjectDataSegment<'a>
Source§impl<'a> From<ObjectDataSegment<'a>> for AnySegment<'a>
impl<'a> From<ObjectDataSegment<'a>> for AnySegment<'a>
Source§fn from(s: ObjectDataSegment<'a>) -> Self
fn from(s: ObjectDataSegment<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for ObjectDataSegment<'a>
impl<'a> Parse<'a> for ObjectDataSegment<'a>
Source§impl<'a> PartialEq for ObjectDataSegment<'a>
impl<'a> PartialEq for ObjectDataSegment<'a>
Source§fn eq(&self, other: &ObjectDataSegment<'a>) -> bool
fn eq(&self, other: &ObjectDataSegment<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> SegmentDef<'a> for ObjectDataSegment<'a>
impl<'a> SegmentDef<'a> for ObjectDataSegment<'a>
Source§impl<'a> Serialize for ObjectDataSegment<'a>
impl<'a> Serialize for ObjectDataSegment<'a>
Source§impl Serialize for ObjectDataSegment<'_>
impl Serialize for ObjectDataSegment<'_>
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<'a> StructuralPartialEq for ObjectDataSegment<'a>
Auto Trait Implementations§
impl<'a> Freeze for ObjectDataSegment<'a>
impl<'a> RefUnwindSafe for ObjectDataSegment<'a>
impl<'a> Send for ObjectDataSegment<'a>
impl<'a> Sync for ObjectDataSegment<'a>
impl<'a> Unpin for ObjectDataSegment<'a>
impl<'a> UnsafeUnpin for ObjectDataSegment<'a>
impl<'a> UnwindSafe for ObjectDataSegment<'a>
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