pub struct SvgViewport {
pub min_x_nm: i64,
pub min_y_nm: i64,
pub width_nm: u64,
pub height_nm: u64,
}Expand description
Explicit SVG viewBox rectangle in integer nanometres.
Fields§
§min_x_nm: i64Minimum X coordinate in nanometres.
min_y_nm: i64Minimum Y coordinate in nanometres.
width_nm: u64Viewport width in nanometres (must be positive).
height_nm: u64Viewport height in nanometres (must be positive).
Trait Implementations§
Source§impl Clone for SvgViewport
impl Clone for SvgViewport
Source§fn clone(&self) -> SvgViewport
fn clone(&self) -> SvgViewport
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 SvgViewport
Source§impl Debug for SvgViewport
impl Debug for SvgViewport
impl Eq for SvgViewport
Source§impl PartialEq for SvgViewport
impl PartialEq for SvgViewport
impl StructuralPartialEq for SvgViewport
Auto Trait Implementations§
impl Freeze for SvgViewport
impl RefUnwindSafe for SvgViewport
impl Send for SvgViewport
impl Sync for SvgViewport
impl Unpin for SvgViewport
impl UnsafeUnpin for SvgViewport
impl UnwindSafe for SvgViewport
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.