#[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§fn clone(&self) -> PhotoPickerAssetArgs
fn clone(&self) -> PhotoPickerAssetArgs
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<'de> Deserialize<'de> for PhotoPickerAssetArgs
impl<'de> Deserialize<'de> for PhotoPickerAssetArgs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PhotoPickerAssetArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PhotoPickerAssetArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PhotoPickerAssetArgs> for PhotoPickerPhoto
impl From<&PhotoPickerAssetArgs> for PhotoPickerPhoto
Source§fn from(value: &PhotoPickerAssetArgs) -> PhotoPickerPhoto
fn from(value: &PhotoPickerAssetArgs) -> PhotoPickerPhoto
Converts to this type from the input type.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.