pub struct ViewBox {
pub rect: Rect,
pub aspect: AspectRatio,
}
Expand description
View box.
Fields
rect: Rect
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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