pub struct StdlibIcon;Trait Implementations§
Source§impl Clone for StdlibIcon
impl Clone for StdlibIcon
Source§fn clone(&self) -> StdlibIcon
fn clone(&self) -> StdlibIcon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StdlibIcon
Source§impl Default for StdlibIcon
impl Default for StdlibIcon
Source§fn default() -> StdlibIcon
fn default() -> StdlibIcon
Returns the “default value” for a type. Read more
impl Eq for StdlibIcon
Source§impl IconShape for StdlibIcon
impl IconShape for StdlibIcon
Source§fn child_elements(&self) -> Element
fn child_elements(&self) -> Element
Returns the SVG child elements (paths, circles, etc.) that define the icon shape. Read more
Source§const STROKE_WIDTH: Option<&'static str> = None
const STROKE_WIDTH: Option<&'static str> = None
Default stroke width of the SVG element (e.g., “2”).
Source§const STROKE_LINE_CAP: Option<&'static str> = None
const STROKE_LINE_CAP: Option<&'static str> = None
Default stroke line cap style (e.g., “round”, “butt”, “square”).
Source§const STROKE_LINE_JOIN: Option<&'static str> = None
const STROKE_LINE_JOIN: Option<&'static str> = None
Default stroke line join style (e.g., “round”, “miter”, “bevel”).
Source§impl PartialEq for StdlibIcon
impl PartialEq for StdlibIcon
Source§fn eq(&self, other: &StdlibIcon) -> bool
fn eq(&self, other: &StdlibIcon) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StdlibIcon
Auto Trait Implementations§
impl Freeze for StdlibIcon
impl RefUnwindSafe for StdlibIcon
impl Send for StdlibIcon
impl Sync for StdlibIcon
impl Unpin for StdlibIcon
impl UnsafeUnpin for StdlibIcon
impl UnwindSafe for StdlibIcon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.