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<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 Display for TsStrictness
impl Display for TsStrictness
Source§impl FromStr for TsStrictness
impl FromStr for TsStrictness
Source§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
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