Enum TaggedStatement

Source
pub enum TaggedStatement {
    DataDefinition(TaggedDataDefinitionStatement),
    DataManipulation(TaggedDataManipulationStatement),
    SecondaryIndex(TaggedSecondaryIndexStatement),
    MaterializedView(TaggedMaterializedViewStatement),
    Role(TaggedRoleStatement),
    Permission(TaggedPermissionStatement),
    User(TaggedUserStatement),
    UserDefinedFunction(TaggedUserDefinedFunctionStatement),
    UserDefinedType(TaggedUserDefinedTypeStatement),
    Trigger(TaggedTriggerStatement),
}

Variants§

Trait Implementations§

Source§

impl Clone for TaggedStatement

Source§

fn clone(&self) -> TaggedStatement

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<'a> CustomToTokens<'a> for TaggedStatement

Source§

fn to_tokens(&'a self, tokens: &mut TokenStream)

Source§

impl Debug for TaggedStatement

Source§

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

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

impl From<ListUsersStatement> for TaggedStatement

Source§

fn from(v: ListUsersStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterKeyspaceStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterKeyspaceStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterMaterializedViewStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterMaterializedViewStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterRoleStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterRoleStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterTableStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterTableStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterUserDefinedTypeStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterUserDefinedTypeStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedAlterUserStatement> for TaggedStatement

Source§

fn from(v: TaggedAlterUserStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedBatchStatement> for TaggedStatement

Source§

fn from(v: TaggedBatchStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateAggregateFunctionStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateAggregateFunctionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateFunctionStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateFunctionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateIndexStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateIndexStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateKeyspaceStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateKeyspaceStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateMaterializedViewStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateMaterializedViewStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateRoleStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateRoleStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateTableStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateTableStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateTriggerStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateTriggerStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateUserDefinedTypeStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateUserDefinedTypeStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedCreateUserStatement> for TaggedStatement

Source§

fn from(v: TaggedCreateUserStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDataDefinitionStatement> for TaggedStatement

Source§

fn from(original: TaggedDataDefinitionStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedDataManipulationStatement> for TaggedStatement

Source§

fn from(original: TaggedDataManipulationStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedDeleteStatement> for TaggedStatement

Source§

fn from(v: TaggedDeleteStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropAggregateFunctionStatement> for TaggedStatement

Source§

fn from(v: TaggedDropAggregateFunctionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropFunctionStatement> for TaggedStatement

Source§

fn from(v: TaggedDropFunctionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropIndexStatement> for TaggedStatement

Source§

fn from(v: TaggedDropIndexStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropKeyspaceStatement> for TaggedStatement

Source§

fn from(v: TaggedDropKeyspaceStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropMaterializedViewStatement> for TaggedStatement

Source§

fn from(v: TaggedDropMaterializedViewStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropRoleStatement> for TaggedStatement

Source§

fn from(v: TaggedDropRoleStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropTableStatement> for TaggedStatement

Source§

fn from(v: TaggedDropTableStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropTriggerStatement> for TaggedStatement

Source§

fn from(v: TaggedDropTriggerStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropUserDefinedTypeStatement> for TaggedStatement

Source§

fn from(v: TaggedDropUserDefinedTypeStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedDropUserStatement> for TaggedStatement

Source§

fn from(v: TaggedDropUserStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedGrantPermissionStatement> for TaggedStatement

Source§

fn from(v: TaggedGrantPermissionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedGrantRoleStatement> for TaggedStatement

Source§

fn from(v: TaggedGrantRoleStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedInsertStatement> for TaggedStatement

Source§

fn from(v: TaggedInsertStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedListPermissionsStatement> for TaggedStatement

Source§

fn from(v: TaggedListPermissionsStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedListRolesStatement> for TaggedStatement

Source§

fn from(v: TaggedListRolesStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedMaterializedViewStatement> for TaggedStatement

Source§

fn from(original: TaggedMaterializedViewStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedPermissionStatement> for TaggedStatement

Source§

fn from(original: TaggedPermissionStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedRevokePermissionStatement> for TaggedStatement

Source§

fn from(v: TaggedRevokePermissionStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedRevokeRoleStatement> for TaggedStatement

Source§

fn from(v: TaggedRevokeRoleStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedRoleStatement> for TaggedStatement

Source§

fn from(original: TaggedRoleStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedSecondaryIndexStatement> for TaggedStatement

Source§

fn from(original: TaggedSecondaryIndexStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedSelectStatement> for TaggedStatement

Source§

fn from(v: TaggedSelectStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedTriggerStatement> for TaggedStatement

Source§

fn from(original: TaggedTriggerStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedTruncateStatement> for TaggedStatement

Source§

fn from(v: TaggedTruncateStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedUpdateStatement> for TaggedStatement

Source§

fn from(v: TaggedUpdateStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedUseStatement> for TaggedStatement

Source§

fn from(v: TaggedUseStatement) -> Self

Converts to this type from the input type.
Source§

impl From<TaggedUserDefinedFunctionStatement> for TaggedStatement

Source§

fn from(original: TaggedUserDefinedFunctionStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedUserDefinedTypeStatement> for TaggedStatement

Source§

fn from(original: TaggedUserDefinedTypeStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl From<TaggedUserStatement> for TaggedStatement

Source§

fn from(original: TaggedUserStatement) -> TaggedStatement

Converts to this type from the input type.
Source§

impl FromStr for TaggedStatement

Source§

type Err = Error

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self>

Parses a string s to return a value of this type. Read more
Source§

impl Parse for TaggedStatement

Source§

impl PartialEq for TaggedStatement

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToTokens for TaggedStatement

Source§

fn to_tokens(&self, tokens: &mut TokenStream)

Write self to the given TokenStream. Read more
Source§

fn to_token_stream(&self) -> TokenStream

Convert self directly into a TokenStream object. Read more
Source§

fn into_token_stream(self) -> TokenStream
where Self: Sized,

Convert self directly into a TokenStream object. Read more
Source§

impl TryFrom<TaggedStatement> for Statement

Source§

type Error = Error

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedDataDefinitionStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedDataManipulationStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedMaterializedViewStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedPermissionStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedRoleStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedSecondaryIndexStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedTriggerStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedUserDefinedFunctionStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedUserDefinedTypeStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TaggedStatement> for TaggedUserStatement

Source§

type Error = &'static str

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

fn try_from(value: TaggedStatement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryInto<ListUsersStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<ListUsersStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterKeyspaceStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterKeyspaceStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterMaterializedViewStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterMaterializedViewStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterRoleStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterRoleStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterTableStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterTableStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterUserDefinedTypeStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterUserDefinedTypeStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedAlterUserStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedAlterUserStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedBatchStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedBatchStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateAggregateFunctionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateAggregateFunctionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateFunctionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateFunctionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateIndexStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateIndexStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateKeyspaceStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateKeyspaceStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateMaterializedViewStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateMaterializedViewStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateRoleStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateRoleStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateTableStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateTableStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateTriggerStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateTriggerStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateUserDefinedTypeStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateUserDefinedTypeStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedCreateUserStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedCreateUserStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDeleteStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDeleteStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropAggregateFunctionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropAggregateFunctionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropFunctionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropFunctionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropIndexStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropIndexStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropKeyspaceStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropKeyspaceStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropMaterializedViewStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropMaterializedViewStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropRoleStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropRoleStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropTableStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropTableStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropTriggerStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropTriggerStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropUserDefinedTypeStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropUserDefinedTypeStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedDropUserStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedDropUserStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedGrantPermissionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedGrantPermissionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedGrantRoleStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedGrantRoleStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedInsertStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedInsertStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedListPermissionsStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedListPermissionsStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedListRolesStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedListRolesStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedRevokePermissionStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedRevokePermissionStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedRevokeRoleStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedRevokeRoleStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedSelectStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedSelectStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedTruncateStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedTruncateStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedUpdateStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedUpdateStatement, Self::Error>

Performs the conversion.
Source§

impl TryInto<TaggedUseStatement> for TaggedStatement

Source§

type Error = Error

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

fn try_into(self) -> Result<TaggedUseStatement, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for TaggedStatement

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.
Source§

impl<T> Any for T
where T: Any,

Source§

impl<T> CloneAny for T
where T: Any + Clone,