pub struct ViewBox {
pub x: f64,
pub y: f64,
pub w: f64,
pub h: f64,
}
Expand description
Representation of the <viewBox>
type.
Fields§
§x: f64
§y: f64
§w: f64
§h: f64
Implementations§
Trait Implementations§
source§impl FromStr for ViewBox
impl FromStr for ViewBox
§type Err = ViewBoxError
type Err = ViewBoxError
The associated error which can be returned from parsing.
source§impl PartialEq for ViewBox
impl PartialEq for ViewBox
source§impl ToTokens for ViewBox
impl ToTokens for ViewBox
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for ViewBox
impl StructuralPartialEq for ViewBox
Auto Trait Implementations§
impl Freeze for ViewBox
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