pub enum InlineComponent {
Text(Text),
Icon(Icon),
}
Variants§
Trait Implementations§
Source§impl Clone for InlineComponent
impl Clone for InlineComponent
Source§fn clone(&self) -> InlineComponent
fn clone(&self) -> InlineComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InlineComponent
impl Debug for InlineComponent
Source§impl<'de> Deserialize<'de> for InlineComponent
impl<'de> Deserialize<'de> for InlineComponent
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 From<Icon> for InlineComponent
impl From<Icon> for InlineComponent
Source§impl From<Text> for InlineComponent
impl From<Text> for InlineComponent
Source§impl PartialEq for InlineComponent
impl PartialEq for InlineComponent
Source§impl Serialize for InlineComponent
impl Serialize for InlineComponent
impl Eq for InlineComponent
impl StructuralPartialEq for InlineComponent
Auto Trait Implementations§
impl Freeze for InlineComponent
impl RefUnwindSafe for InlineComponent
impl Send for InlineComponent
impl Sync for InlineComponent
impl Unpin for InlineComponent
impl UnwindSafe for InlineComponent
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