Skip to main content

SelectCols

Struct SelectCols 

Source
pub struct SelectCols<Cols>(/* private fields */);
Expand description

Marker: explicit columns — R inferred from column value types, stable across joins.

Trait Implementations§

Source§

impl<Cols, R, T> AfterFullJoin<R, T> for SelectCols<Cols>

Source§

impl<Cols, R, T> AfterJoin<R, T> for SelectCols<Cols>

Explicit columns + JOIN → R unchanged.

Source§

impl<Cols, R, T> AfterLeftJoin<R, T> for SelectCols<Cols>

Source§

impl<Cols, R, T> AfterRightJoin<R, T> for SelectCols<Cols>

Source§

impl<Cols: Clone> Clone for SelectCols<Cols>

Source§

fn clone(&self) -> SelectCols<Cols>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<Cols: Copy> Copy for SelectCols<Cols>

Source§

impl<Cols: Debug> Debug for SelectCols<Cols>

Source§

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

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

impl<RowRef, Row: ?Sized, Cols, R> DecodeSelectedRef<RowRef, R> for SelectCols<Cols>
where RowRef: Deref<Target = Row>, R: FromDrizzleRow<Row>,

Source§

fn decode(row: RowRef) -> Result<R, DrizzleError>

Decode the row into R according to the marker. Read more
Source§

impl<Cols: Default> Default for SelectCols<Cols>

Source§

fn default() -> SelectCols<Cols>

Returns the “default value” for a type. Read more
Source§

impl<Row: ?Sized, Cols, Inferred, Actual> MarkerColumnCountValid<Row, Inferred, Actual> for SelectCols<Cols>
where Cols: SelectedColumnList, Actual: RowColumnList<Row>, <Cols as SelectedColumnList>::Columns: TypeListCompatible<Row, <Actual as RowColumnList<Row>>::Columns>,

Source§

impl<Cols> MarkerRequiredTables for SelectCols<Cols>

Source§

impl<__Table, T0: ExprValueType> ResolveRow<__Table> for SelectCols<(T0,)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType, T11: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType, T11: ExprValueType, T12: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType, T11: ExprValueType, T12: ExprValueType, T13: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType, T11: ExprValueType, T12: ExprValueType, T13: ExprValueType, T14: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)>

Source§

impl<__Table, T0: ExprValueType, T1: ExprValueType, T2: ExprValueType, T3: ExprValueType, T4: ExprValueType, T5: ExprValueType, T6: ExprValueType, T7: ExprValueType, T8: ExprValueType, T9: ExprValueType, T10: ExprValueType, T11: ExprValueType, T12: ExprValueType, T13: ExprValueType, T14: ExprValueType, T15: ExprValueType> ResolveRow<__Table> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)>

Source§

impl<Cols> StrictDecodeMarker for SelectCols<Cols>

Source§

impl<'a, V, E> SubqueryType<'a, V> for SelectCols<(E,)>
where V: SQLParam + 'a, E: Expr<'a, V>,

Source§

type SQLType = <E as Expr<'a, V>>::SQLType

Source§

impl<'a, V, E0, E1> SubqueryType<'a, V> for SelectCols<(E0, E1)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2> SubqueryType<'a, V> for SelectCols<(E0, E1, E2)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2, E3> SubqueryType<'a, V> for SelectCols<(E0, E1, E2, E3)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>, E3: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType, <E3 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2, E3, E4> SubqueryType<'a, V> for SelectCols<(E0, E1, E2, E3, E4)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>, E3: Expr<'a, V>, E4: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType, <E3 as Expr<'a, V>>::SQLType, <E4 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2, E3, E4, E5> SubqueryType<'a, V> for SelectCols<(E0, E1, E2, E3, E4, E5)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>, E3: Expr<'a, V>, E4: Expr<'a, V>, E5: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType, <E3 as Expr<'a, V>>::SQLType, <E4 as Expr<'a, V>>::SQLType, <E5 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2, E3, E4, E5, E6> SubqueryType<'a, V> for SelectCols<(E0, E1, E2, E3, E4, E5, E6)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>, E3: Expr<'a, V>, E4: Expr<'a, V>, E5: Expr<'a, V>, E6: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType, <E3 as Expr<'a, V>>::SQLType, <E4 as Expr<'a, V>>::SQLType, <E5 as Expr<'a, V>>::SQLType, <E6 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, E0, E1, E2, E3, E4, E5, E6, E7> SubqueryType<'a, V> for SelectCols<(E0, E1, E2, E3, E4, E5, E6, E7)>
where V: SQLParam + 'a, E0: Expr<'a, V>, E1: Expr<'a, V>, E2: Expr<'a, V>, E3: Expr<'a, V>, E4: Expr<'a, V>, E5: Expr<'a, V>, E6: Expr<'a, V>, E7: Expr<'a, V>,

Source§

type SQLType = (<E0 as Expr<'a, V>>::SQLType, <E1 as Expr<'a, V>>::SQLType, <E2 as Expr<'a, V>>::SQLType, <E3 as Expr<'a, V>>::SQLType, <E4 as Expr<'a, V>>::SQLType, <E5 as Expr<'a, V>>::SQLType, <E6 as Expr<'a, V>>::SQLType, <E7 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>, T11: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType, <T11 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>, T11: Expr<'a, V>, T12: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType, <T11 as Expr<'a, V>>::SQLType, <T12 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>, T11: Expr<'a, V>, T12: Expr<'a, V>, T13: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType, <T11 as Expr<'a, V>>::SQLType, <T12 as Expr<'a, V>>::SQLType, <T13 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>, T11: Expr<'a, V>, T12: Expr<'a, V>, T13: Expr<'a, V>, T14: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType, <T11 as Expr<'a, V>>::SQLType, <T12 as Expr<'a, V>>::SQLType, <T13 as Expr<'a, V>>::SQLType, <T14 as Expr<'a, V>>::SQLType)

Source§

impl<'a, V, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> SubqueryType<'a, V> for SelectCols<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)>
where V: SQLParam + 'a, T0: Expr<'a, V>, T1: Expr<'a, V>, T2: Expr<'a, V>, T3: Expr<'a, V>, T4: Expr<'a, V>, T5: Expr<'a, V>, T6: Expr<'a, V>, T7: Expr<'a, V>, T8: Expr<'a, V>, T9: Expr<'a, V>, T10: Expr<'a, V>, T11: Expr<'a, V>, T12: Expr<'a, V>, T13: Expr<'a, V>, T14: Expr<'a, V>, T15: Expr<'a, V>,

Source§

type SQLType = (<T0 as Expr<'a, V>>::SQLType, <T1 as Expr<'a, V>>::SQLType, <T2 as Expr<'a, V>>::SQLType, <T3 as Expr<'a, V>>::SQLType, <T4 as Expr<'a, V>>::SQLType, <T5 as Expr<'a, V>>::SQLType, <T6 as Expr<'a, V>>::SQLType, <T7 as Expr<'a, V>>::SQLType, <T8 as Expr<'a, V>>::SQLType, <T9 as Expr<'a, V>>::SQLType, <T10 as Expr<'a, V>>::SQLType, <T11 as Expr<'a, V>>::SQLType, <T12 as Expr<'a, V>>::SQLType, <T13 as Expr<'a, V>>::SQLType, <T14 as Expr<'a, V>>::SQLType, <T15 as Expr<'a, V>>::SQLType)

Auto Trait Implementations§

§

impl<Cols> Freeze for SelectCols<Cols>

§

impl<Cols> RefUnwindSafe for SelectCols<Cols>
where Cols: RefUnwindSafe,

§

impl<Cols> Send for SelectCols<Cols>
where Cols: Send,

§

impl<Cols> Sync for SelectCols<Cols>
where Cols: Sync,

§

impl<Cols> Unpin for SelectCols<Cols>
where Cols: Unpin,

§

impl<Cols> UnsafeUnpin for SelectCols<Cols>

§

impl<Cols> UnwindSafe for SelectCols<Cols>
where Cols: UnwindSafe,

Blanket Implementations§

Source§

impl<T> AliasExt for T

Source§

fn alias(self, name: &'static str) -> AliasedExpr<Self>

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<Mk> MarkerAggValidFor<()> for Mk

Source§

impl<Scope> ScopeSatisfies<Nil, ()> for Scope

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> TypeEq<T> for T