pub struct ViewImageOptions {
pub auto_resize: bool,
pub model: Option<ImageModel>,
}Expand description
Pi’s images.autoResize setting (default on) and the current model.
Fields§
§auto_resize: bool§model: Option<ImageModel>Trait Implementations§
Source§impl Clone for ViewImageOptions
impl Clone for ViewImageOptions
Source§impl Debug for ViewImageOptions
impl Debug for ViewImageOptions
Auto Trait Implementations§
impl Forget for ViewImageOptions
impl Freeze for ViewImageOptions
impl Move for ViewImageOptions
impl RefUnwindSafe for ViewImageOptions
impl Send for ViewImageOptions
impl Sync for ViewImageOptions
impl Unpin for ViewImageOptions
impl UnsafeUnpin for ViewImageOptions
impl UnwindSafe for ViewImageOptions
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