Struct fidl_fuchsia_hardware_display::ImageId
source · #[repr(C)]pub struct ImageId {
pub value: u64,
}
Expand description
Unique identifier for an image registered with the display coordinator.
[fuchsia.hardware.display.types/INVALID_DISP_ID
] represents an invalid
value.
Values are managed by [fuchsia.hardware.display/Coordinator
] clients, to
facilitate feed-forward dataflow.
Valid values uniquely identify “live” images within a Display Coordinator
connection. The identifier of an image destroyed via
[fuchsia.hardware.display/Coordinator.ReleaseImage
] can be reused in a
subsequent [fuchsia.hardware.display/Coordinator.ImportImage
] call.
An image is a memory buffer whose bytes have a fixed interpretation as an
array of pixels. Memory buffers are managed by sysmem, and are accessed by
the display stack using a [fuchsia.sysmem/BufferCollection
]. The buffer’s
interpretation is described by an
[fuchsia.hardware.display.types/ImageConfig
].
Fields§
§value: u64
Trait Implementations§
source§impl Decode<ImageId> for ImageId
impl Decode<ImageId> for ImageId
source§impl Ord for ImageId
impl Ord for ImageId
source§impl PartialEq for ImageId
impl PartialEq for ImageId
source§impl PartialOrd for ImageId
impl PartialOrd for ImageId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for ImageId
impl TypeMarker for ImageId
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moresource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.