#[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<D: ResourceDialect> Decode<ImageId, D> for ImageId
impl<D: ResourceDialect> Decode<ImageId, D> for ImageId
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
impl Copy for ImageId
impl Eq for ImageId
impl Persistable for ImageId
impl StructuralPartialEq for ImageId
Auto Trait Implementations§
impl Freeze for ImageId
impl RefUnwindSafe for ImageId
impl Send for ImageId
impl Sync for ImageId
impl Unpin for ImageId
impl UnwindSafe for ImageId
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)