pub struct DropImageFile {
pub original_link: Computed<Option<Rc<String>>>,
pub item: Value<Option<DropFileItem>>,
pub params: DropImageFileParams,
}Expand description
Box that allows to accept image files on it, connected to Value<Option<DropFileItem>>.
Fields§
§original_link: Computed<Option<Rc<String>>>§item: Value<Option<DropFileItem>>§params: DropImageFileParamsImplementations§
Source§impl DropImageFile
impl DropImageFile
pub fn into_component(self) -> Self
pub fn mount(&self) -> DomNode
Auto Trait Implementations§
impl Freeze for DropImageFile
impl !RefUnwindSafe for DropImageFile
impl !Send for DropImageFile
impl !Sync for DropImageFile
impl Unpin for DropImageFile
impl !UnwindSafe for DropImageFile
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more