#[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: ExternalImageId
The identifier of this external image, provided by the embedding.
channel_index: u8
For multi-plane images (i.e. YUV), indicates the plane of the original image that this struct represents. 0 for single-plane images.
image_type: ExternalImageType
Storage format identifier.
Trait Implementations§
Source§impl Clone for ExternalImageData
impl Clone for ExternalImageData
Source§fn clone(&self) -> ExternalImageData
fn clone(&self) -> ExternalImageData
Returns a copy of the value. Read more
1.0.0 · 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 · 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§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 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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)