pub enum ExampleSubtype {
Private(PrivateSubtype),
}Variants§
Private(PrivateSubtype)
private
Implementations§
Trait Implementations§
Source§impl Clone for ExampleSubtype
impl Clone for ExampleSubtype
Source§fn clone(&self) -> ExampleSubtype
fn clone(&self) -> ExampleSubtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExampleSubtype
impl Debug for ExampleSubtype
impl Eq for ExampleSubtype
Source§impl FromStr for ExampleSubtype
impl FromStr for ExampleSubtype
Source§type Err = MediaTypeError
type Err = MediaTypeError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<ExampleSubtype, <ExampleSubtype as FromStr>::Err>
fn from_str(s: &str) -> Result<ExampleSubtype, <ExampleSubtype as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Ord for ExampleSubtype
impl Ord for ExampleSubtype
Source§fn cmp(&self, other: &ExampleSubtype) -> Ordering
fn cmp(&self, other: &ExampleSubtype) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExampleSubtype
impl PartialEq for ExampleSubtype
Source§impl PartialOrd for ExampleSubtype
impl PartialOrd for ExampleSubtype
impl StructuralPartialEq for ExampleSubtype
Auto Trait Implementations§
impl Freeze for ExampleSubtype
impl RefUnwindSafe for ExampleSubtype
impl Send for ExampleSubtype
impl Sync for ExampleSubtype
impl Unpin for ExampleSubtype
impl UnsafeUnpin for ExampleSubtype
impl UnwindSafe for ExampleSubtype
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