#[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<'de> Deserialize<'de> for ExternalImageData
impl<'de> Deserialize<'de> for ExternalImageData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ExternalImageData
impl Hash for ExternalImageData
Source§impl PartialEq for ExternalImageData
impl PartialEq for ExternalImageData
Source§impl Serialize for ExternalImageData
impl Serialize for ExternalImageData
impl Copy 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