pub struct DxcCursorKind(/* private fields */);

Implementations§

source§

impl DxcCursorKind

source

pub const UNEXPOSED_DECL: Self = _

source

pub const STRUCT_DECL: Self = _

source

pub const UNION_DECL: Self = _

source

pub const CLASS_DECL: Self = _

source

pub const ENUM_DECL: Self = _

source

pub const FIELD_DECL: Self = _

source

pub const ENUM_CONSTANT_DECL: Self = _

source

pub const FUNCTION_DECL: Self = _

source

pub const VAR_DECL: Self = _

source

pub const PARM_DECL: Self = _

source

pub const OBJ_C_INTERFACE_DECL: Self = _

source

pub const OBJ_C_CATEGORY_DECL: Self = _

source

pub const OBJ_C_PROTOCOL_DECL: Self = _

source

pub const OBJ_C_PROPERTY_DECL: Self = _

source

pub const OBJ_C_IVAR_DECL: Self = _

source

pub const OBJ_C_INSTANCE_METHOD_DECL: Self = _

source

pub const OBJ_C_CLASS_METHOD_DECL: Self = _

source

pub const OBJ_C_IMPLEMENTATION_DECL: Self = _

source

pub const OBJ_C_CATEGORY_IMPL_DECL: Self = _

source

pub const TYPEDEF_DECL: Self = _

source

pub const CXX_METHOD: Self = _

source

pub const NAMESPACE: Self = _

source

pub const LINKAGE_SPEC: Self = _

source

pub const CONSTRUCTOR: Self = _

source

pub const DESTRUCTOR: Self = _

source

pub const CONVERSION_FUNCTION: Self = _

source

pub const TEMPLATE_TYPE_PARAMETER: Self = _

source

pub const NON_TYPE_TEMPLATE_PARAMETER: Self = _

source

pub const TEMPLATE_TEMPLATE_PARAMETER: Self = _

source

pub const FUNCTION_TEMPLATE: Self = _

source

pub const CLASS_TEMPLATE: Self = _

source

pub const CLASS_TEMPLATE_PARTIAL_SPECIALIZATION: Self = _

source

pub const NAMESPACE_ALIAS: Self = _

source

pub const USING_DIRECTIVE: Self = _

source

pub const USING_DECLARATION: Self = _

source

pub const TYPE_ALIAS_DECL: Self = _

source

pub const OBJ_C_SYNTHESIZE_DECL: Self = _

source

pub const OBJ_C_DYNAMIC_DECL: Self = _

source

pub const CXX_ACCESS_SPECIFIER: Self = _

source

pub const FIRST_DECL: Self = _

source

pub const LAST_DECL: Self = _

source

pub const FIRST_REF: Self = _

source

pub const OBJ_C_SUPER_CLASS_REF: Self = _

source

pub const OBJ_C_PROTOCOL_REF: Self = _

source

pub const OBJ_C_CLASS_REF: Self = _

source

pub const TYPE_REF: Self = _

source

pub const CXX_BASE_SPECIFIER: Self = _

source

pub const TEMPLATE_REF: Self = _

source

pub const NAMESPACE_REF: Self = _

source

pub const MEMBER_REF: Self = _

source

pub const LABEL_REF: Self = _

source

pub const OVERLOADED_DECL_REF: Self = _

source

pub const VARIABLE_REF: Self = _

source

pub const LAST_REF: Self = _

source

pub const FIRST_INVALID: Self = _

source

pub const INVALID_FILE: Self = _

source

pub const NO_DECL_FOUND: Self = _

source

pub const NOT_IMPLEMENTED: Self = _

source

pub const INVALID_CODE: Self = _

source

pub const LAST_INVALID: Self = _

source

pub const FIRST_EXPR: Self = _

source

pub const UNEXPOSED_EXPR: Self = _

source

pub const DECL_REF_EXPR: Self = _

source

pub const MEMBER_REF_EXPR: Self = _

source

pub const CALL_EXPR: Self = _

source

pub const OBJ_C_MESSAGE_EXPR: Self = _

source

pub const BLOCK_EXPR: Self = _

source

pub const INTEGER_LITERAL: Self = _

source

pub const FLOATING_LITERAL: Self = _

source

pub const IMAGINARY_LITERAL: Self = _

source

pub const STRING_LITERAL: Self = _

source

pub const CHARACTER_LITERAL: Self = _

source

pub const PAREN_EXPR: Self = _

source

pub const UNARY_OPERATOR: Self = _

source

pub const ARRAY_SUBSCRIPT_EXPR: Self = _

source

pub const BINARY_OPERATOR: Self = _

source

pub const COMPOUND_ASSIGN_OPERATOR: Self = _

source

pub const CONDITIONAL_OPERATOR: Self = _

source

pub const C_STYLE_CAST_EXPR: Self = _

source

pub const COMPOUND_LITERAL_EXPR: Self = _

source

pub const INIT_LIST_EXPR: Self = _

source

pub const ADDR_LABEL_EXPR: Self = _

source

pub const STMT_EXPR: Self = _

source

pub const GENERIC_SELECTION_EXPR: Self = _

source

pub const GNU_NULL_EXPR: Self = _

source

pub const CXX_STATIC_CAST_EXPR: Self = _

source

pub const CXX_DYNAMIC_CAST_EXPR: Self = _

source

pub const CXX_REINTERPRET_CAST_EXPR: Self = _

source

pub const CXX_CONST_CAST_EXPR: Self = _

source

pub const CXX_FUNCTIONAL_CAST_EXPR: Self = _

source

pub const CXX_TYPEID_EXPR: Self = _

source

pub const CXX_BOOL_LITERAL_EXPR: Self = _

source

pub const CXX_NULL_PTR_LITERAL_EXPR: Self = _

source

pub const CXX_THIS_EXPR: Self = _

source

pub const CXX_THROW_EXPR: Self = _

source

pub const CXX_NEW_EXPR: Self = _

source

pub const CXX_DELETE_EXPR: Self = _

source

pub const UNARY_EXPR: Self = _

source

pub const OBJ_C_STRING_LITERAL: Self = _

source

pub const OBJ_C_ENCODE_EXPR: Self = _

source

pub const OBJ_C_SELECTOR_EXPR: Self = _

source

pub const OBJ_C_PROTOCOL_EXPR: Self = _

source

pub const OBJ_C_BRIDGED_CAST_EXPR: Self = _

source

pub const PACK_EXPANSION_EXPR: Self = _

source

pub const SIZE_OF_PACK_EXPR: Self = _

source

pub const LAMBDA_EXPR: Self = _

source

pub const OBJ_C_BOOL_LITERAL_EXPR: Self = _

source

pub const OBJ_C_SELF_EXPR: Self = _

source

pub const LAST_EXPR: Self = _

source

pub const FIRST_STMT: Self = _

source

pub const UNEXPOSED_STMT: Self = _

source

pub const LABEL_STMT: Self = _

source

pub const COMPOUND_STMT: Self = _

source

pub const CASE_STMT: Self = _

source

pub const DEFAULT_STMT: Self = _

source

pub const IF_STMT: Self = _

source

pub const SWITCH_STMT: Self = _

source

pub const WHILE_STMT: Self = _

source

pub const DO_STMT: Self = _

source

pub const FOR_STMT: Self = _

source

pub const GOTO_STMT: Self = _

source

pub const INDIRECT_GOTO_STMT: Self = _

source

pub const CONTINUE_STMT: Self = _

source

pub const BREAK_STMT: Self = _

source

pub const RETURN_STMT: Self = _

source

pub const GCC_ASM_STMT: Self = _

source

pub const ASM_STMT: Self = _

source

pub const OBJ_C_AT_TRY_STMT: Self = _

source

pub const OBJ_C_AT_CATCH_STMT: Self = _

source

pub const OBJ_C_AT_FINALLY_STMT: Self = _

source

pub const OBJ_C_AT_THROW_STMT: Self = _

source

pub const OBJ_C_AT_SYNCHRONIZED_STMT: Self = _

source

pub const OBJ_C_AUTORELEASE_POOL_STMT: Self = _

source

pub const OBJ_C_FOR_COLLECTION_STMT: Self = _

source

pub const CXX_CATCH_STMT: Self = _

source

pub const CXX_TRY_STMT: Self = _

source

pub const CXX_FOR_RANGE_STMT: Self = _

source

pub const SEH_TRY_STMT: Self = _

source

pub const SEH_EXCEPT_STMT: Self = _

source

pub const SEH_FINALLY_STMT: Self = _

source

pub const MS_ASM_STMT: Self = _

source

pub const NULL_STMT: Self = _

source

pub const DECL_STMT: Self = _

source

pub const OMP_PARALLEL_DIRECTIVE: Self = _

source

pub const OMP_SIMD_DIRECTIVE: Self = _

source

pub const OMP_FOR_DIRECTIVE: Self = _

source

pub const OMP_SECTIONS_DIRECTIVE: Self = _

source

pub const OMP_SECTION_DIRECTIVE: Self = _

source

pub const OMP_SINGLE_DIRECTIVE: Self = _

source

pub const OMP_PARALLEL_FOR_DIRECTIVE: Self = _

source

pub const OMP_PARALLEL_SECTIONS_DIRECTIVE: Self = _

source

pub const OMP_TASK_DIRECTIVE: Self = _

source

pub const OMP_MASTER_DIRECTIVE: Self = _

source

pub const OMP_CRITICAL_DIRECTIVE: Self = _

source

pub const OMP_TASKYIELD_DIRECTIVE: Self = _

source

pub const OMP_BARRIER_DIRECTIVE: Self = _

source

pub const OMP_TASKWAIT_DIRECTIVE: Self = _

source

pub const OMP_FLUSH_DIRECTIVE: Self = _

source

pub const SEH_LEAVE_STMT: Self = _

source

pub const OMP_ORDERED_DIRECTIVE: Self = _

source

pub const OMP_ATOMIC_DIRECTIVE: Self = _

source

pub const OMP_FOR_SIMD_DIRECTIVE: Self = _

source

pub const OMP_PARALLEL_FOR_SIMD_DIRECTIVE: Self = _

source

pub const OMP_TARGET_DIRECTIVE: Self = _

source

pub const OMP_TEAMS_DIRECTIVE: Self = _

source

pub const OMP_TASKGROUP_DIRECTIVE: Self = _

source

pub const OMP_CANCELLATION_POINT_DIRECTIVE: Self = _

source

pub const OMP_CANCEL_DIRECTIVE: Self = _

source

pub const LAST_STMT: Self = _

source

pub const TRANSLATION_UNIT: Self = _

source

pub const FIRST_ATTR: Self = _

source

pub const UNEXPOSED_ATTR: Self = _

source

pub const IB_ACTION_ATTR: Self = _

source

pub const IB_OUTLET_ATTR: Self = _

source

pub const IB_OUTLET_COLLECTION_ATTR: Self = _

source

pub const CXX_FINAL_ATTR: Self = _

source

pub const CXX_OVERRIDE_ATTR: Self = _

source

pub const ANNOTATE_ATTR: Self = _

source

pub const ASM_LABEL_ATTR: Self = _

source

pub const PACKED_ATTR: Self = _

source

pub const PURE_ATTR: Self = _

source

pub const CONST_ATTR: Self = _

source

pub const NO_DUPLICATE_ATTR: Self = _

source

pub const CUDA_CONSTANT_ATTR: Self = _

source

pub const CUDA_DEVICE_ATTR: Self = _

source

pub const CUDA_GLOBAL_ATTR: Self = _

source

pub const CUDA_HOST_ATTR: Self = _

source

pub const CUDA_SHARED_ATTR: Self = _

source

pub const LAST_ATTR: Self = _

source

pub const PREPROCESSING_DIRECTIVE: Self = _

source

pub const MACRO_DEFINITION: Self = _

source

pub const MACRO_EXPANSION: Self = _

source

pub const MACRO_INSTANTIATION: Self = _

source

pub const INCLUSION_DIRECTIVE: Self = _

source

pub const FIRST_PREPROCESSING: Self = _

source

pub const LAST_PREPROCESSING: Self = _

source

pub const MODULE_IMPORT_DECL: Self = _

source

pub const FIRST_EXTRA_DECL: Self = _

source

pub const LAST_EXTRA_DECL: Self = _

source§

impl DxcCursorKind

source

pub const fn empty() -> Self

Get a flags value with all bits unset.

source

pub const fn all() -> Self

Get a flags value with all known bits set.

source

pub const fn bits(&self) -> u32

Get the underlying bits value.

The returned value is exactly the bits set in this flags value.

source

pub const fn from_bits(bits: u32) -> Option<Self>

Convert from a bits value.

This method will return None if any unknown bits are set.

source

pub const fn from_bits_truncate(bits: u32) -> Self

Convert from a bits value, unsetting any unknown bits.

source

pub const fn from_bits_retain(bits: u32) -> Self

Convert from a bits value exactly.

source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

This method will return None if name is empty or doesn’t correspond to any named flag.

source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

source

pub const fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

source

pub const fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

source§

impl DxcCursorKind

source

pub const fn iter(&self) -> Iter<DxcCursorKind>

Yield a set of contained flags values.

Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

source

pub const fn iter_names(&self) -> IterNames<DxcCursorKind>

Yield a set of contained named flags values.

This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

Trait Implementations§

source§

impl Binary for DxcCursorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl BitAnd for DxcCursorKind

source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

§

type Output = DxcCursorKind

The resulting type after applying the & operator.
source§

impl BitAndAssign for DxcCursorKind

source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

source§

impl BitOr for DxcCursorKind

source§

fn bitor(self, other: DxcCursorKind) -> Self

The bitwise or (|) of the bits in two flags values.

§

type Output = DxcCursorKind

The resulting type after applying the | operator.
source§

impl BitOrAssign for DxcCursorKind

source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

source§

impl BitXor for DxcCursorKind

source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

§

type Output = DxcCursorKind

The resulting type after applying the ^ operator.
source§

impl BitXorAssign for DxcCursorKind

source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

source§

impl Clone for DxcCursorKind

source§

fn clone(&self) -> DxcCursorKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DxcCursorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Extend<DxcCursorKind> for DxcCursorKind

source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl Flags for DxcCursorKind

source§

const FLAGS: &'static [Flag<DxcCursorKind>] = _

The set of defined flags.
§

type Bits = u32

The underlying bits type.
source§

fn bits(&self) -> u32

Get the underlying bits value. Read more
source§

fn from_bits_retain(bits: u32) -> DxcCursorKind

Convert from a bits value exactly.
source§

fn empty() -> Self

Get a flags value with all bits unset.
source§

fn all() -> Self

Get a flags value with all known bits set.
source§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
source§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
source§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
source§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
source§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
source§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
source§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
source§

fn intersects(&self, other: Self) -> boolwhere Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
source§

fn contains(&self, other: Self) -> boolwhere Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
source§

fn insert(&mut self, other: Self)where Self: Sized,

The bitwise or (|) of the bits in two flags values.
source§

fn remove(&mut self, other: Self)where Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
source§

fn toggle(&mut self, other: Self)where Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
source§

fn set(&mut self, other: Self, value: bool)where Self: Sized,

Call Flags::insert when value is true or Flags::remove when value is false.
source§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
source§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
source§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
source§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
source§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
source§

impl FromIterator<DxcCursorKind> for DxcCursorKind

source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

source§

impl Hash for DxcCursorKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoIterator for DxcCursorKind

§

type Item = DxcCursorKind

The type of the elements being iterated over.
§

type IntoIter = Iter<DxcCursorKind>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl LowerHex for DxcCursorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Not for DxcCursorKind

source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

§

type Output = DxcCursorKind

The resulting type after applying the ! operator.
source§

impl Octal for DxcCursorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Ord for DxcCursorKind

source§

fn cmp(&self, other: &DxcCursorKind) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for DxcCursorKind

source§

fn eq(&self, other: &DxcCursorKind) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for DxcCursorKind

source§

fn partial_cmp(&self, other: &DxcCursorKind) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PublicFlags for DxcCursorKind

§

type Primitive = u32

The type of the underlying storage.
§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
source§

impl Sub for DxcCursorKind

source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

§

type Output = DxcCursorKind

The resulting type after applying the - operator.
source§

impl SubAssign for DxcCursorKind

source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

source§

impl UpperHex for DxcCursorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Copy for DxcCursorKind

source§

impl Eq for DxcCursorKind

source§

impl StructuralEq for DxcCursorKind

source§

impl StructuralPartialEq for DxcCursorKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.