#[repr(C)]pub struct ImageId {
pub value: u64,
}Expand description
Unique identifier for an image registered with a display engine driver.
[INVALID_ID] represents an invalid value.
Valid values uniquely identify “live” images within a display engine driver
connection. The identifier of an image destroyed via [Engine.ReleaseImage]
can be reused as the return value of a subsequent [Engine.ImportImage]
call.
Fields§
§value: u64Trait Implementations§
Source§impl<'a, ___E> Encode<ImageId, ___E> for &'a ImageIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<ImageId, ___E> for &'a ImageIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<ImageId, ___E> for ImageIdwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<ImageId, ___E> for ImageIdwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, ImageId>
const COPY_OPTIMIZATION: CopyOptimization<Self, ImageId>
Source§impl<'a, ___E> EncodeOption<Box<'static, ImageId>, ___E> for &'a ImageId
impl<'a, ___E> EncodeOption<Box<'static, ImageId>, ___E> for &'a ImageId
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, ImageId>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, ImageId>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, ImageId>, ___E> for ImageId
impl<___E> EncodeOption<Box<'static, ImageId>, ___E> for ImageId
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, ImageId>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, ImageId>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireRef<ImageId> for ImageId
impl FromWireRef<ImageId> for ImageId
Source§fn from_wire_ref(wire: &ImageId) -> Self
fn from_wire_ref(wire: &ImageId) -> Self
Converts the given reference to this type.
Source§impl Ord for ImageId
impl Ord for ImageId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ImageId
impl PartialOrd for ImageId
impl Copy for ImageId
impl Eq 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 UnsafeUnpin for ImageId
impl UnwindSafe for ImageId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]