pub enum U32OrString {
U32(u32),
String(String),
}Variants§
Trait Implementations§
Source§impl Clone for U32OrString
impl Clone for U32OrString
Source§fn clone(&self) -> U32OrString
fn clone(&self) -> U32OrString
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 PartialEq for U32OrString
impl PartialEq for U32OrString
impl StructuralPartialEq for U32OrString
Auto Trait Implementations§
impl Freeze for U32OrString
impl RefUnwindSafe for U32OrString
impl Send for U32OrString
impl Sync for U32OrString
impl Unpin for U32OrString
impl UnwindSafe for U32OrString
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