pub enum TsStrictness {
Loose,
Strict,
}Expand description
TypeScript strictness metadata.
Variants§
Trait Implementations§
Source§impl Clone for TsStrictness
impl Clone for TsStrictness
Source§fn clone(&self) -> TsStrictness
fn clone(&self) -> TsStrictness
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 TsStrictness
impl Debug for TsStrictness
Source§impl<'de> Deserialize<'de> for TsStrictness
impl<'de> Deserialize<'de> for TsStrictness
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TsStrictness, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TsStrictness, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TsStrictness
impl Display for TsStrictness
Source§impl FromStr for TsStrictness
impl FromStr for TsStrictness
Source§type Err = TsOptionParseError
type Err = TsOptionParseError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<TsStrictness, <TsStrictness as FromStr>::Err>
fn from_str(input: &str) -> Result<TsStrictness, <TsStrictness as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for TsStrictness
impl Hash for TsStrictness
Source§impl Ord for TsStrictness
impl Ord for TsStrictness
Source§fn cmp(&self, other: &TsStrictness) -> Ordering
fn cmp(&self, other: &TsStrictness) -> 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
Source§impl PartialEq for TsStrictness
impl PartialEq for TsStrictness
Source§fn eq(&self, other: &TsStrictness) -> bool
fn eq(&self, other: &TsStrictness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TsStrictness
impl PartialOrd for TsStrictness
Source§impl Serialize for TsStrictness
impl Serialize for TsStrictness
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for TsStrictness
impl Eq for TsStrictness
impl StructuralPartialEq for TsStrictness
Auto Trait Implementations§
impl Freeze for TsStrictness
impl RefUnwindSafe for TsStrictness
impl Send for TsStrictness
impl Sync for TsStrictness
impl Unpin for TsStrictness
impl UnsafeUnpin for TsStrictness
impl UnwindSafe for TsStrictness
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