Struct svg_metadata::ViewBox
source · pub struct ViewBox {
pub min_x: f64,
pub min_y: f64,
pub width: f64,
pub height: f64,
}
Expand description
Specifies the dimensions of an SVG image.
Fields§
§min_x: f64
The x coordinate of the left edge of the viewBox
min_y: f64
The y coordinate of the top edge of the viewBox
width: f64
The width of the viewBox
height: f64
The height of the viewBox
Trait Implementations§
source§impl PartialEq<ViewBox> for ViewBox
impl PartialEq<ViewBox> for ViewBox
impl Copy for ViewBox
impl StructuralPartialEq for ViewBox
Auto Trait Implementations§
impl RefUnwindSafe for ViewBox
impl Send for ViewBox
impl Sync for ViewBox
impl Unpin for ViewBox
impl UnwindSafe for ViewBox
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