#[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: u64Trait Implementations§
Source§impl<D> Decode<ImageId, D> for ImageIdwhere
D: ResourceDialect,
impl<D> Decode<ImageId, D> for ImageIdwhere
D: ResourceDialect,
Source§impl Ord for ImageId
impl Ord for ImageId
Source§impl PartialOrd for ImageId
impl PartialOrd for ImageId
Source§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.Source§impl ValueTypeMarker for ImageId
impl ValueTypeMarker for ImageId
Source§type Borrowed<'a> = &'a ImageId
type Borrowed<'a> = &'a ImageId
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<ImageId as TypeMarker>::Owned,
) -> <ImageId as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ImageId as TypeMarker>::Owned, ) -> <ImageId as ValueTypeMarker>::Borrowed<'_>
&Self::Owned to Self::Borrowed.