pub struct CachedDims {
pub width: u32,
pub height: u32,
}Expand description
Cached dimensions for an image. Mirrors Perl LaTeXML.cache
"dest|width|height" value triple (we already have the dest path
at the call site — only the dimensions need round-tripping).
Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for CachedDims
impl Clone for CachedDims
Source§fn clone(&self) -> CachedDims
fn clone(&self) -> CachedDims
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CachedDims
Source§impl Debug for CachedDims
impl Debug for CachedDims
impl Eq for CachedDims
Source§impl PartialEq for CachedDims
impl PartialEq for CachedDims
impl StructuralPartialEq for CachedDims
Auto Trait Implementations§
impl Freeze for CachedDims
impl RefUnwindSafe for CachedDims
impl Send for CachedDims
impl Sync for CachedDims
impl Unpin for CachedDims
impl UnsafeUnpin for CachedDims
impl UnwindSafe for CachedDims
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more