#[repr(C)]pub struct ExternalImageData {
pub id: ExternalImageId,
pub channel_index: u8,
pub image_type: ExternalImageType,
}Expand description
Descriptor for external image resources. See ImageData.
Fields§
§id: ExternalImageIdThe identifier of this external image, provided by the embedding.
channel_index: u8For multi-plane images (i.e. YUV), indicates the plane of the original image that this struct represents. 0 for single-plane images.
image_type: ExternalImageTypeStorage format identifier.
Trait Implementations§
Source§impl Clone for ExternalImageData
impl Clone for ExternalImageData
Source§fn clone(&self) -> ExternalImageData
fn clone(&self) -> ExternalImageData
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 Debug for ExternalImageData
impl Debug for ExternalImageData
Source§impl Hash for ExternalImageData
impl Hash for ExternalImageData
Source§impl Ord for ExternalImageData
impl Ord for ExternalImageData
Source§fn cmp(&self, other: &ExternalImageData) -> Ordering
fn cmp(&self, other: &ExternalImageData) -> Ordering
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 PartialEq for ExternalImageData
impl PartialEq for ExternalImageData
Source§fn eq(&self, other: &ExternalImageData) -> bool
fn eq(&self, other: &ExternalImageData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalImageData
impl PartialOrd for ExternalImageData
impl Eq for ExternalImageData
impl StructuralPartialEq for ExternalImageData
Auto Trait Implementations§
impl Freeze for ExternalImageData
impl RefUnwindSafe for ExternalImageData
impl Send for ExternalImageData
impl Sync for ExternalImageData
impl Unpin for ExternalImageData
impl UnsafeUnpin for ExternalImageData
impl UnwindSafe for ExternalImageData
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