Struct text_document::format::ImageFormat
source · [−]pub struct ImageFormat {
pub height: Option<usize>,
pub width: Option<usize>,
pub quality: Option<u8>,
pub name: Option<String>,
/* private fields */
}Fields
height: Option<usize>width: Option<usize>quality: Option<u8>name: Option<String>Implementations
sourceimpl ImageFormat
impl ImageFormat
Methods from Deref<Target = Font>
Trait Implementations
sourceimpl Clone for ImageFormat
impl Clone for ImageFormat
sourcefn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageFormat
impl Debug for ImageFormat
sourceimpl Default for ImageFormat
impl Default for ImageFormat
sourcefn default() -> ImageFormat
fn default() -> ImageFormat
Returns the “default value” for a type. Read more
sourceimpl Deref for ImageFormat
impl Deref for ImageFormat
type Target = CharFormat
type Target = CharFormat
The resulting type after dereferencing.
sourceimpl PartialEq<ImageFormat> for ImageFormat
impl PartialEq<ImageFormat> for ImageFormat
sourcefn eq(&self, other: &ImageFormat) -> bool
fn eq(&self, other: &ImageFormat) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ImageFormat) -> bool
fn ne(&self, other: &ImageFormat) -> bool
This method tests for !=.
impl StructuralPartialEq for ImageFormat
Auto Trait Implementations
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more