#[repr(C)]pub struct PhotoPickerAssetArgs {
pub temp_id: String,
pub file_name: Option<String>,
pub mime_type: String,
pub byte_size: u64,
pub width: Option<u32>,
pub height: Option<u32>,
pub source_kind: String,
pub handle: Option<String>,
pub data: Vec<u8>,
}Expand description
Selected image metadata and optional copied bytes from a native photo picker.
Fields§
§temp_id: String§file_name: Option<String>§mime_type: String§byte_size: u64§width: Option<u32>§height: Option<u32>§source_kind: String§handle: Option<String>§data: Vec<u8>Trait Implementations§
Source§impl Clone for PhotoPickerAssetArgs
impl Clone for PhotoPickerAssetArgs
Source§impl<'de> Deserialize<'de> for PhotoPickerAssetArgs
impl<'de> Deserialize<'de> for PhotoPickerAssetArgs
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
Auto Trait Implementations§
impl Freeze for PhotoPickerAssetArgs
impl RefUnwindSafe for PhotoPickerAssetArgs
impl Send for PhotoPickerAssetArgs
impl Sync for PhotoPickerAssetArgs
impl Unpin for PhotoPickerAssetArgs
impl UnsafeUnpin for PhotoPickerAssetArgs
impl UnwindSafe for PhotoPickerAssetArgs
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