pub struct ImmutableDashStyle { /* private fields */ }Expand description
Represents the sequence of dashes and gaps that will be applied by an
ImmutablePen.
Implementations§
Trait Implementations§
Source§impl Clone for ImmutableDashStyle
impl Clone for ImmutableDashStyle
Source§impl Debug for ImmutableDashStyle
impl Debug for ImmutableDashStyle
Source§impl IDashStyle for ImmutableDashStyle
impl IDashStyle for ImmutableDashStyle
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
The implementing value, for downcasts to
ImmutableDashStyle.Source§fn into_immutable_dash_style(self: Rc<Self>) -> Rc<ImmutableDashStyle>
fn into_immutable_dash_style(self: Rc<Self>) -> Rc<ImmutableDashStyle>
Converts the dash style to an immutable dash style; an immutable dash
style returns itself.
Source§fn equals(&self, other: &dyn IDashStyle) -> bool
fn equals(&self, other: &dyn IDashStyle) -> bool
Whether the dash style equals
other. Mutable dash styles compare by
reference, immutable ones structurally.Auto Trait Implementations§
impl Freeze for ImmutableDashStyle
impl RefUnwindSafe for ImmutableDashStyle
impl Send for ImmutableDashStyle
impl Sync for ImmutableDashStyle
impl Unpin for ImmutableDashStyle
impl UnsafeUnpin for ImmutableDashStyle
impl UnwindSafe for ImmutableDashStyle
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more