Struct sn0int::schema::images::table [−][src]
The actual table struct
This is the type which provides the base methods of the query
builder, such as .select
and .filter
.
Implementations
impl table
[src]
pub fn star(&self) -> star
[src]
Represents table_name.*
, which is sometimes necessary
for efficient count queries. It cannot be used in place of
all_columns
Trait Implementations
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsInFromClause<table> for table
[src]
impl AppearsOnTable<table> for star
[src]
impl AsQuery for table
[src]
type SqlType = SqlType
The SQL type of Self::Query
type Query = SelectStatement<Self>
What kind of query does this type represent?
fn as_query(self) -> Self::Query
[src]
impl Clone for table
[src]
impl Copy for table
[src]
impl Debug for table
[src]
impl HasTable for table
[src]
impl<T> Insertable<T> for table where
<table as AsQuery>::Query: Insertable<T>,
[src]
<table as AsQuery>::Query: Insertable<T>,
type Values = <<table as AsQuery>::Query as Insertable<T>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
pub fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'a, T> Insertable<T> for &'a table where
table: Insertable<T>,
[src]
table: Insertable<T>,
type Values = <table as Insertable<T>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
pub fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for NewImage
[src]
type Values = <(Option<Eq<value, String>>, Option<Eq<filename, String>>, Option<Eq<mime, String>>, Option<Eq<width, i32>>, Option<Eq<height, i32>>, Option<Eq<created, NaiveDateTime>>, Option<Eq<latitude, f32>>, Option<Eq<longitude, f32>>, Option<Eq<nudity, f32>>, Option<Eq<ahash, String>>, Option<Eq<dhash, String>>, Option<Eq<phash, String>>, Option<Eq<unscoped, bool>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
pub fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for &'insert NewImage
[src]
type Values = <(Option<Eq<value, &'insert String>>, Option<Eq<filename, &'insert String>>, Option<Eq<mime, &'insert String>>, Option<Eq<width, &'insert i32>>, Option<Eq<height, &'insert i32>>, Option<Eq<created, &'insert NaiveDateTime>>, Option<Eq<latitude, &'insert f32>>, Option<Eq<longitude, &'insert f32>>, Option<Eq<nudity, &'insert f32>>, Option<Eq<ahash, &'insert String>>, Option<Eq<dhash, &'insert String>>, Option<Eq<phash, &'insert String>>, Option<Eq<unscoped, &'insert bool>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
pub fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl IntoUpdateTarget for table
[src]
type WhereClause = <Self::Query as IntoUpdateTarget>::WhereClause
What is the WHERE
clause of this target?
fn into_update_target(self) -> UpdateTarget<Self::Table, Self::WhereClause>
[src]
impl<'a, QS, ST, DB> JoinTo<BoxedSelectStatement<'a, QS, ST, DB>> for table where
BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>,
[src]
BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>,
type FromClause = BoxedSelectStatement<'a, QS, ST, DB>
type OnClause = <BoxedSelectStatement<'a, QS, ST, DB> as JoinTo<table>>::OnClause
fn join_target(
rhs: BoxedSelectStatement<'a, QS, ST, DB>
) -> (Self::FromClause, Self::OnClause)
[src]
rhs: BoxedSelectStatement<'a, QS, ST, DB>
) -> (Self::FromClause, Self::OnClause)
impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for table where
Join<Left, Right, Kind>: JoinTo<table>,
[src]
Join<Left, Right, Kind>: JoinTo<table>,
type FromClause = Join<Left, Right, Kind>
type OnClause = <Join<Left, Right, Kind> as JoinTo<table>>::OnClause
fn join_target(
rhs: Join<Left, Right, Kind>
) -> (Self::FromClause, Self::OnClause)
[src]
rhs: Join<Left, Right, Kind>
) -> (Self::FromClause, Self::OnClause)
impl<Join, On> JoinTo<JoinOn<Join, On>> for table where
JoinOn<Join, On>: JoinTo<table>,
[src]
JoinOn<Join, On>: JoinTo<table>,
type FromClause = JoinOn<Join, On>
type OnClause = <JoinOn<Join, On> as JoinTo<table>>::OnClause
fn join_target(rhs: JoinOn<Join, On>) -> (Self::FromClause, Self::OnClause)
[src]
impl<F, S, D, W, O, L, Of, G> JoinTo<SelectStatement<F, S, D, W, O, L, Of, G, NoLockingClause>> for table where
SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>,
[src]
SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>,
type FromClause = SelectStatement<F, S, D, W, O, L, Of, G>
type OnClause = <SelectStatement<F, S, D, W, O, L, Of, G> as JoinTo<table>>::OnClause
fn join_target(
rhs: SelectStatement<F, S, D, W, O, L, Of, G>
) -> (Self::FromClause, Self::OnClause)
[src]
rhs: SelectStatement<F, S, D, W, O, L, Of, G>
) -> (Self::FromClause, Self::OnClause)
impl QueryId for table
[src]
type QueryId = table
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
[src]
pub fn query_id() -> Option<TypeId>
[src]
impl QuerySource for table
[src]
type FromClause = Identifier<'static>
The type returned by from_clause
type DefaultSelection = Self::AllColumns
The type returned by default_selection
fn from_clause(&self) -> Self::FromClause
[src]
fn default_selection(&self) -> Self::DefaultSelection
[src]
impl SelectableExpression<table> for star
[src]
impl SelectableExpression<table> for id
[src]
impl SelectableExpression<table> for nudity
[src]
impl SelectableExpression<table> for ahash
[src]
impl SelectableExpression<table> for dhash
[src]
impl SelectableExpression<table> for phash
[src]
impl SelectableExpression<table> for unscoped
[src]
impl SelectableExpression<table> for value
[src]
impl SelectableExpression<table> for filename
[src]
impl SelectableExpression<table> for mime
[src]
impl SelectableExpression<table> for width
[src]
impl SelectableExpression<table> for height
[src]
impl SelectableExpression<table> for created
[src]
impl SelectableExpression<table> for latitude
[src]
impl SelectableExpression<table> for longitude
[src]
impl Table for table
[src]
type PrimaryKey = id
The type returned by primary_key
type AllColumns = (id, value, filename, mime, width, height, created, latitude, longitude, nudity, ahash, dhash, phash, unscoped)
The type returned by all_columns
fn primary_key(&self) -> Self::PrimaryKey
[src]
fn all_columns() -> Self::AllColumns
[src]
impl<'insert> UndecoratedInsertRecord<table> for NewImage
[src]
Auto Trait Implementations
impl RefUnwindSafe for table
impl Send for table
impl Sync for table
impl Unpin for table
impl UnwindSafe for table
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Conv for T
impl<T> Conv for T
impl<T> FmtForward for T
pub fn fmt_binary(self) -> FmtBinary<Self> where
Self: Binary,
Self: Binary,
pub fn fmt_display(self) -> FmtDisplay<Self> where
Self: Display,
Self: Display,
pub fn fmt_lower_exp(self) -> FmtLowerExp<Self> where
Self: LowerExp,
Self: LowerExp,
pub fn fmt_lower_hex(self) -> FmtLowerHex<Self> where
Self: LowerHex,
Self: LowerHex,
pub fn fmt_octal(self) -> FmtOctal<Self> where
Self: Octal,
Self: Octal,
pub fn fmt_pointer(self) -> FmtPointer<Self> where
Self: Pointer,
Self: Pointer,
pub fn fmt_upper_exp(self) -> FmtUpperExp<Self> where
Self: UpperExp,
Self: UpperExp,
pub fn fmt_upper_hex(self) -> FmtUpperHex<Self> where
Self: UpperHex,
Self: UpperHex,
impl<T> ForUpdateDsl for T where
T: LockingDsl<ForUpdate>,
[src]
T: LockingDsl<ForUpdate>,
type Output = <T as LockingDsl<ForUpdate>>::Output
use LockingDsl<ForUpdate>
instead
The type returned by for_update
. See dsl::ForUpdate
for
convenient access to this type. Read more
pub fn for_update(self) -> <T as ForUpdateDsl>::Output
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> JoinOnDsl for T where
T: QuerySource,
[src]
T: QuerySource,
impl<Lhs, Rhs, On> JoinTo<OnClauseWrapper<Rhs, On>> for Lhs where
Lhs: Table,
[src]
Lhs: Table,
type FromClause = Rhs
type OnClause = On
pub fn join_target(
rhs: OnClauseWrapper<Rhs, On>
) -> (<Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::FromClause, <Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::OnClause)
[src]
rhs: OnClauseWrapper<Rhs, On>
) -> (<Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::FromClause, <Lhs as JoinTo<OnClauseWrapper<Rhs, On>>>::OnClause)
impl<T> Pipe for T where
T: ?Sized,
T: ?Sized,
pub fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
pub fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
R: 'a,
pub fn pipe_ref_mut<'a, R>(
&'a mut self,
func: impl FnOnce(&'a mut Self) -> R
) -> R where
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut Self) -> R
) -> R where
R: 'a,
pub fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
pub fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
pub fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
pub fn pipe_as_mut<'a, U, R>(
&'a mut self,
func: impl FnOnce(&'a mut U) -> R
) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut U) -> R
) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
pub fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
pub fn pipe_deref_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: DerefMut<Target = T> + Deref,
T: 'a + ?Sized,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: DerefMut<Target = T> + Deref,
T: 'a + ?Sized,
R: 'a,
impl<T> Pipe for T
impl<T> PipeAsRef for T
pub fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: AsRef<T>,
T: 'a,
R: 'a,
Self: AsRef<T>,
T: 'a,
R: 'a,
pub fn pipe_as_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: AsMut<T>,
T: 'a,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: AsMut<T>,
T: 'a,
R: 'a,
impl<T> PipeBorrow for T
pub fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Borrow<T>,
T: 'a,
R: 'a,
Self: Borrow<T>,
T: 'a,
R: 'a,
pub fn pipe_borrow_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: BorrowMut<T>,
T: 'a,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: BorrowMut<T>,
T: 'a,
R: 'a,
impl<T> PipeDeref for T
pub fn pipe_deref<'a, R>(
&'a self,
func: impl FnOnce(&'a Self::Target) -> R
) -> R where
Self: Deref,
R: 'a,
&'a self,
func: impl FnOnce(&'a Self::Target) -> R
) -> R where
Self: Deref,
R: 'a,
pub fn pipe_deref_mut<'a, R>(
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
Self: DerefMut,
R: 'a,
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
Self: DerefMut,
R: 'a,
impl<T> PipeRef for T
pub fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
R: 'a,
pub fn pipe_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
R: 'a,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> QueryDsl for T where
T: Table,
[src]
T: Table,
pub fn distinct(self) -> Self::Output where
Self: DistinctDsl,
[src]
Self: DistinctDsl,
pub fn select<Selection>(self, selection: Selection) -> Self::Output where
Self: SelectDsl<Selection>,
Selection: Expression,
[src]
Self: SelectDsl<Selection>,
Selection: Expression,
pub fn count(self) -> Self::Output where
Self: SelectDsl<CountStar>,
[src]
Self: SelectDsl<CountStar>,
pub fn inner_join<Rhs>(self, rhs: Rhs) -> Self::Output where
Self: JoinWithImplicitOnClause<Rhs, Inner>,
[src]
Self: JoinWithImplicitOnClause<Rhs, Inner>,
pub fn left_outer_join<Rhs>(self, rhs: Rhs) -> Self::Output where
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
[src]
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
pub fn left_join<Rhs>(self, rhs: Rhs) -> Self::Output where
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
[src]
Self: JoinWithImplicitOnClause<Rhs, LeftOuter>,
pub fn filter<Predicate>(self, predicate: Predicate) -> Self::Output where
Self: FilterDsl<Predicate>,
[src]
Self: FilterDsl<Predicate>,
pub fn or_filter<Predicate>(self, predicate: Predicate) -> Self::Output where
Self: OrFilterDsl<Predicate>,
[src]
Self: OrFilterDsl<Predicate>,
pub fn find<PK>(self, id: PK) -> Self::Output where
Self: FindDsl<PK>,
[src]
Self: FindDsl<PK>,
pub fn order<Expr>(self, expr: Expr) -> Self::Output where
Self: OrderDsl<Expr>,
Expr: Expression,
[src]
Self: OrderDsl<Expr>,
Expr: Expression,
pub fn order_by<Expr>(self, expr: Expr) -> Self::Output where
Self: OrderDsl<Expr>,
Expr: Expression,
[src]
Self: OrderDsl<Expr>,
Expr: Expression,
pub fn then_order_by<Order>(self, order: Order) -> Self::Output where
Self: ThenOrderDsl<Order>,
[src]
Self: ThenOrderDsl<Order>,
pub fn limit(self, limit: i64) -> Self::Output where
Self: LimitDsl,
[src]
Self: LimitDsl,
pub fn offset(self, offset: i64) -> Self::Output where
Self: OffsetDsl,
[src]
Self: OffsetDsl,
pub fn for_update(self) -> Self::Output where
Self: ForUpdateDsl,
[src]
Self: ForUpdateDsl,
pub fn for_no_key_update(self) -> Self::Output where
Self: LockingDsl<ForNoKeyUpdate>,
[src]
Self: LockingDsl<ForNoKeyUpdate>,
pub fn for_share(self) -> Self::Output where
Self: LockingDsl<ForShare>,
[src]
Self: LockingDsl<ForShare>,
pub fn for_key_share(self) -> Self::Output where
Self: LockingDsl<ForKeyShare>,
[src]
Self: LockingDsl<ForKeyShare>,
pub fn skip_locked(self) -> Self::Output where
Self: ModifyLockDsl<SkipLocked>,
[src]
Self: ModifyLockDsl<SkipLocked>,
pub fn no_wait(self) -> Self::Output where
Self: ModifyLockDsl<NoWait>,
[src]
Self: ModifyLockDsl<NoWait>,
pub fn into_boxed<'a, DB>(self) -> Self::Output where
Self: BoxedDsl<'a, DB>,
DB: Backend,
[src]
Self: BoxedDsl<'a, DB>,
DB: Backend,
pub fn single_value(self) -> Self::Output where
Self: SingleValueDsl,
[src]
Self: SingleValueDsl,
pub fn nullable(self) -> Self::Output where
Self: SelectNullableDsl,
[src]
Self: SelectNullableDsl,
impl<T, Conn> RunQueryDsl<Conn> for T where
T: Table,
[src]
T: Table,
pub fn execute(self, conn: &Conn) -> Result<usize, Error> where
Self: ExecuteDsl<Conn, <Conn as Connection>::Backend>,
Conn: Connection,
[src]
Self: ExecuteDsl<Conn, <Conn as Connection>::Backend>,
Conn: Connection,
pub fn load<U>(self, conn: &Conn) -> Result<Vec<U, Global>, Error> where
Self: LoadQuery<Conn, U>,
[src]
Self: LoadQuery<Conn, U>,
pub fn get_result<U>(self, conn: &Conn) -> Result<U, Error> where
Self: LoadQuery<Conn, U>,
[src]
Self: LoadQuery<Conn, U>,
pub fn get_results<U>(self, conn: &Conn) -> Result<Vec<U, Global>, Error> where
Self: LoadQuery<Conn, U>,
[src]
Self: LoadQuery<Conn, U>,
pub fn first<U>(self, conn: &Conn) -> Result<U, Error> where
Self: LimitDsl,
Self::Output: LoadQuery<Conn, U>,
[src]
Self: LimitDsl,
Self::Output: LoadQuery<Conn, U>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Tap for T
pub fn tap(self, func: impl FnOnce(&Self)) -> Self
pub fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self
pub fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Self: Borrow<B>,
B: ?Sized,
pub fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Self: BorrowMut<B>,
B: ?Sized,
pub fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Self: AsRef<R>,
R: ?Sized,
pub fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Self: AsMut<R>,
R: ?Sized,
pub fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
Self: Deref<Target = T>,
T: ?Sized,
pub fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
pub fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
pub fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
pub fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Self: Borrow<B>,
B: ?Sized,
pub fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Self: BorrowMut<B>,
B: ?Sized,
pub fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Self: AsRef<R>,
R: ?Sized,
pub fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Self: AsMut<R>,
R: ?Sized,
pub fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
Self: Deref<Target = T>,
T: ?Sized,
pub fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
impl<T> Tap for T
pub fn tap<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
F: FnOnce(&Self) -> R,
pub fn tap_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
F: FnOnce(&Self) -> R,
pub fn tap_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
F: FnOnce(&mut Self) -> R,
pub fn tap_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
F: FnOnce(&mut Self) -> R,
impl<T, U> TapAsRef<U> for T where
U: ?Sized,
U: ?Sized,
pub fn tap_ref<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Self: AsRef<T>,
F: FnOnce(&T) -> R,
pub fn tap_ref_dbg<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Self: AsRef<T>,
F: FnOnce(&T) -> R,
pub fn tap_ref_mut<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
pub fn tap_ref_mut_dbg<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
impl<T, U> TapBorrow<U> for T where
U: ?Sized,
U: ?Sized,
pub fn tap_borrow<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Self: Borrow<T>,
F: FnOnce(&T) -> R,
pub fn tap_borrow_dbg<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Self: Borrow<T>,
F: FnOnce(&T) -> R,
pub fn tap_borrow_mut<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
pub fn tap_borrow_mut_dbg<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
impl<T> TapDeref for T
pub fn tap_deref<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Self: Deref,
F: FnOnce(&Self::Target) -> R,
pub fn tap_deref_dbg<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Self: Deref,
F: FnOnce(&Self::Target) -> R,
pub fn tap_deref_mut<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
pub fn tap_deref_mut_dbg<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> TryConv for T
impl<T> TryConv for T
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,