pub struct IconProps {
pub src: String,
pub alt: Option<String>,
}
Fields§
§src: String
§alt: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IconProps
impl<'de> Deserialize<'de> for IconProps
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
impl Eq for IconProps
impl StructuralPartialEq for IconProps
Auto Trait Implementations§
impl Freeze for IconProps
impl RefUnwindSafe for IconProps
impl Send for IconProps
impl Sync for IconProps
impl Unpin for IconProps
impl UnwindSafe for IconProps
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