Enum usvg::Visibility
source · [−]pub enum Visibility {
Visible,
Hidden,
Collapse,
}
Expand description
A visibility property.
visibility
attribute in the SVG.
Variants
Visible
Hidden
Collapse
Trait Implementations
sourceimpl Clone for Visibility
impl Clone for Visibility
sourcefn clone(&self) -> Visibility
fn clone(&self) -> Visibility
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Visibility
impl Debug for Visibility
sourceimpl Default for Visibility
impl Default for Visibility
sourceimpl PartialEq<Visibility> for Visibility
impl PartialEq<Visibility> for Visibility
impl Copy for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.