pub struct StorybookIcon;Trait Implementations§
Source§impl Clone for StorybookIcon
impl Clone for StorybookIcon
Source§fn clone(&self) -> StorybookIcon
fn clone(&self) -> StorybookIcon
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 StorybookIcon
Source§impl Default for StorybookIcon
impl Default for StorybookIcon
Source§fn default() -> StorybookIcon
fn default() -> StorybookIcon
Returns the “default value” for a type. Read more
impl Eq for StorybookIcon
Source§impl IconShape for StorybookIcon
impl IconShape for StorybookIcon
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 StorybookIcon
impl PartialEq for StorybookIcon
Source§fn eq(&self, other: &StorybookIcon) -> bool
fn eq(&self, other: &StorybookIcon) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StorybookIcon
Auto Trait Implementations§
impl Freeze for StorybookIcon
impl RefUnwindSafe for StorybookIcon
impl Send for StorybookIcon
impl Sync for StorybookIcon
impl Unpin for StorybookIcon
impl UnsafeUnpin for StorybookIcon
impl UnwindSafe for StorybookIcon
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.