pub struct Cons<Head, Tail>(/* private fields */);Expand description
Non-empty type-level set/list node.
Trait Implementations§
impl<Head: Copy, Tail: Copy> Copy for Cons<Head, Tail>
impl<Scope, Cols, Head, Tail, Proof> MarkerAggValidFor<Cons<Head, Tail>, Proof> for Scoped<SelectCols<Cols>, Scope>where
Cols: ScalarColumnsIn<Cons<Head, Tail>, Proof>,
impl<Scope, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectStar, Scope>
impl<Scope, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectExpr, Scope>
impl<Scope, R, Head, Tail> MarkerAggValidFor<Cons<Head, Tail>> for Scoped<SelectAs<R>, Scope>
impl<Head, Tail> ScopeContains<Head, ScopeHere> for Cons<Head, Tail>
impl<Head, Tail, Table, Witness> ScopeContains<Table, ScopeThere<Witness>> for Cons<Head, Tail>where
Tail: ScopeContains<Table, Witness>,
impl<Head, Tail> TypeSet for Cons<Head, Tail>where
Tail: TypeSet,
impl<S, Head, Tail> ValidateTableSetForeignKeys<S> for Cons<Head, Tail>where
Head: SQLTableMeta,
<Head as SQLTableMeta>::ForeignKeys: ForeignKeysInSchema<S>,
Tail: ValidateTableSetForeignKeys<S>,
Auto Trait Implementations§
impl<Head, Tail> Freeze for Cons<Head, Tail>
impl<Head, Tail> RefUnwindSafe for Cons<Head, Tail>where
Head: RefUnwindSafe,
Tail: RefUnwindSafe,
impl<Head, Tail> Send for Cons<Head, Tail>
impl<Head, Tail> Sync for Cons<Head, Tail>
impl<Head, Tail> Unpin for Cons<Head, Tail>
impl<Head, Tail> UnsafeUnpin for Cons<Head, Tail>
impl<Head, Tail> UnwindSafe for Cons<Head, Tail>where
Head: UnwindSafe,
Tail: UnwindSafe,
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