pub struct IconComponent {
pub common: ComponentCommon,
pub name: IconName,
}Expand description
图标组件
Fields§
§common: ComponentCommon§name: IconName图标名称或自定义路径
Trait Implementations§
Source§impl Clone for IconComponent
impl Clone for IconComponent
Source§fn clone(&self) -> IconComponent
fn clone(&self) -> IconComponent
Returns a duplicate 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 IconComponent
impl Debug for IconComponent
Source§impl<'de> Deserialize<'de> for IconComponent
impl<'de> Deserialize<'de> for IconComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IconComponent
impl PartialEq for IconComponent
Source§impl Serialize for IconComponent
impl Serialize for IconComponent
impl StructuralPartialEq for IconComponent
Auto Trait Implementations§
impl Freeze for IconComponent
impl RefUnwindSafe for IconComponent
impl Send for IconComponent
impl Sync for IconComponent
impl Unpin for IconComponent
impl UnsafeUnpin for IconComponent
impl UnwindSafe for IconComponent
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