pub struct ThumbnailArgs<'a, 'b> {
pub id: &'a str,
pub file: &'b str,
}Expand description
Provides arguments for creating a new thumbnail
Fields§
§id: &'a str§file: &'b strTrait Implementations§
Source§impl<'a, 'b> Clone for ThumbnailArgs<'a, 'b>
impl<'a, 'b> Clone for ThumbnailArgs<'a, 'b>
Source§fn clone(&self) -> ThumbnailArgs<'a, 'b>
fn clone(&self) -> ThumbnailArgs<'a, 'b>
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 moreAuto Trait Implementations§
impl<'a, 'b> Freeze for ThumbnailArgs<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ThumbnailArgs<'a, 'b>
impl<'a, 'b> Send for ThumbnailArgs<'a, 'b>
impl<'a, 'b> Sync for ThumbnailArgs<'a, 'b>
impl<'a, 'b> Unpin for ThumbnailArgs<'a, 'b>
impl<'a, 'b> UnwindSafe for ThumbnailArgs<'a, 'b>
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