pub enum OptionChild {
Text(Cow<'static, str>),
}Expand description
The permitted child items for the Option element
Variants§
Trait Implementations§
Source§impl Clone for OptionChild
impl Clone for OptionChild
Source§fn clone(&self) -> OptionChild
fn clone(&self) -> OptionChild
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 OptionChild
impl Debug for OptionChild
Source§impl Display for OptionChild
impl Display for OptionChild
Source§impl From<&'static str> for OptionChild
impl From<&'static str> for OptionChild
Source§impl From<String> for OptionChild
impl From<String> for OptionChild
Source§impl PartialEq for OptionChild
impl PartialEq for OptionChild
Source§impl Render for OptionChild
impl Render for OptionChild
impl StructuralPartialEq for OptionChild
Auto Trait Implementations§
impl Freeze for OptionChild
impl RefUnwindSafe for OptionChild
impl Send for OptionChild
impl Sync for OptionChild
impl Unpin for OptionChild
impl UnwindSafe for OptionChild
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