Struct usvgr::EnableBackground
source · pub struct EnableBackground(pub Option<Rect>);Expand description
An enable-background.
Contains only the new [ <x> <y> <width> <height> ] value.
Tuple Fields§
§0: Option<Rect>Trait Implementations§
source§impl Clone for EnableBackground
impl Clone for EnableBackground
source§fn clone(&self) -> EnableBackground
fn clone(&self) -> EnableBackground
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EnableBackground
impl Debug for EnableBackground
source§impl FromValue<'_> for EnableBackground
impl FromValue<'_> for EnableBackground
source§impl Hash for EnableBackground
impl Hash for EnableBackground
source§impl PartialEq for EnableBackground
impl PartialEq for EnableBackground
source§fn eq(&self, other: &EnableBackground) -> bool
fn eq(&self, other: &EnableBackground) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ToTokens for EnableBackground
impl ToTokens for EnableBackground
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 EnableBackground
impl StructuralPartialEq for EnableBackground
Auto Trait Implementations§
impl Freeze for EnableBackground
impl RefUnwindSafe for EnableBackground
impl Send for EnableBackground
impl Sync for EnableBackground
impl Unpin for EnableBackground
impl UnwindSafe for EnableBackground
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