pub struct ExternalDragFile {
pub name: String,
pub size_bytes: Option<u64>,
pub media_type: Option<String>,
}Fields§
§name: String§size_bytes: Option<u64>File size in bytes when known.
Web runners can provide this from the File object. Native runners may provide this from
filesystem metadata.
media_type: Option<String>MIME type when known (e.g. "image/png").
Web runners can provide this from the File object. Native runners may leave this unset.
Trait Implementations§
Source§impl Clone for ExternalDragFile
impl Clone for ExternalDragFile
Source§fn clone(&self) -> ExternalDragFile
fn clone(&self) -> ExternalDragFile
Returns a duplicate 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 ExternalDragFile
impl Debug for ExternalDragFile
Source§impl PartialEq for ExternalDragFile
impl PartialEq for ExternalDragFile
impl StructuralPartialEq for ExternalDragFile
Auto Trait Implementations§
impl Freeze for ExternalDragFile
impl RefUnwindSafe for ExternalDragFile
impl Send for ExternalDragFile
impl Sync for ExternalDragFile
impl Unpin for ExternalDragFile
impl UnsafeUnpin for ExternalDragFile
impl UnwindSafe for ExternalDragFile
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