pub struct ViewBox {
pub rect: NonZeroRect,
pub aspect: AspectRatio,
}
Expand description
View box.
Fields§
§rect: NonZeroRect
Value of the viewBox
attribute.
aspect: AspectRatio
Value of the preserveAspectRatio
attribute.
Trait Implementations§
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