pub enum DynamicJointValidator {
J1(JointValidator<1>),
J2(JointValidator<2>),
J3(JointValidator<3>),
J4(JointValidator<4>),
J5(JointValidator<5>),
J6(JointValidator<6>),
J7(JointValidator<7>),
J8(JointValidator<8>),
}Variants§
J1(JointValidator<1>)
J2(JointValidator<2>)
J3(JointValidator<3>)
J4(JointValidator<4>)
J5(JointValidator<5>)
J6(JointValidator<6>)
J7(JointValidator<7>)
J8(JointValidator<8>)
Implementations§
Source§impl DynamicJointValidator
impl DynamicJointValidator
pub fn try_new(lower: Vec<f32>, upper: Vec<f32>) -> DekeResult<Self>
pub fn dof(&self) -> usize
pub fn validate_dyn(&self, q: &[f32]) -> DekeResult<()>
pub fn validate_motion_dyn(&self, qs: &[&[f32]]) -> DekeResult<()>
Source§impl DynamicJointValidator
impl DynamicJointValidator
pub fn from_validator(v: impl Into<Self>) -> Self
Trait Implementations§
Source§impl Clone for DynamicJointValidator
impl Clone for DynamicJointValidator
Source§fn clone(&self) -> DynamicJointValidator
fn clone(&self) -> DynamicJointValidator
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DynamicJointValidator
impl Debug for DynamicJointValidator
Source§impl From<JointValidator<1>> for DynamicJointValidator
impl From<JointValidator<1>> for DynamicJointValidator
Source§fn from(v: JointValidator<1>) -> Self
fn from(v: JointValidator<1>) -> Self
Source§impl From<JointValidator<2>> for DynamicJointValidator
impl From<JointValidator<2>> for DynamicJointValidator
Source§fn from(v: JointValidator<2>) -> Self
fn from(v: JointValidator<2>) -> Self
Source§impl From<JointValidator<3>> for DynamicJointValidator
impl From<JointValidator<3>> for DynamicJointValidator
Source§fn from(v: JointValidator<3>) -> Self
fn from(v: JointValidator<3>) -> Self
Source§impl From<JointValidator<4>> for DynamicJointValidator
impl From<JointValidator<4>> for DynamicJointValidator
Source§fn from(v: JointValidator<4>) -> Self
fn from(v: JointValidator<4>) -> Self
Source§impl From<JointValidator<5>> for DynamicJointValidator
impl From<JointValidator<5>> for DynamicJointValidator
Source§fn from(v: JointValidator<5>) -> Self
fn from(v: JointValidator<5>) -> Self
Source§impl From<JointValidator<6>> for DynamicJointValidator
impl From<JointValidator<6>> for DynamicJointValidator
Source§fn from(v: JointValidator<6>) -> Self
fn from(v: JointValidator<6>) -> Self
Source§impl From<JointValidator<7>> for DynamicJointValidator
impl From<JointValidator<7>> for DynamicJointValidator
Source§fn from(v: JointValidator<7>) -> Self
fn from(v: JointValidator<7>) -> Self
Source§impl From<JointValidator<8>> for DynamicJointValidator
impl From<JointValidator<8>> for DynamicJointValidator
Source§fn from(v: JointValidator<8>) -> Self
fn from(v: JointValidator<8>) -> Self
Source§impl Validator<1, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<1, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<1, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<1, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<1> for DynamicJointValidator
impl Validator<1> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<1, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<1>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<2, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<2, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<2, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<2, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<2> for DynamicJointValidator
impl Validator<2> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<2, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<2>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<3, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<3, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<3, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<3, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<3> for DynamicJointValidator
impl Validator<3> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<3, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<3>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<4, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<4, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<4, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<4, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<4> for DynamicJointValidator
impl Validator<4> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<4, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<4>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<5, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<5, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<5, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<5, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<5> for DynamicJointValidator
impl Validator<5> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<5, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<5>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<6, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<6, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<6, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<6, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<6> for DynamicJointValidator
impl Validator<6> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<6, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<6>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<7, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<7, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<7, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<7, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<7> for DynamicJointValidator
impl Validator<7> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<7, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<7>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<8, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<8, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<8, E, f64>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<8, f64>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Source§impl Validator<8> for DynamicJointValidator
impl Validator<8> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<8, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<8>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
const VALIDATE_MOTION_IS_CONTINUOUS: bool = false
Source§fn validate_batched<'ctx>(
&self,
qs: &[SRobotQ<N, F>],
ctx: &Self::Context<'ctx>,
) -> BitVec
fn validate_batched<'ctx>( &self, qs: &[SRobotQ<N, F>], ctx: &Self::Context<'ctx>, ) -> BitVec
i-th bit is set iff qs[i] is invalid (rejected). The default
runs Validator::validate per config; implementors with a batched
fast path (SIMD, GPU) override it.Auto Trait Implementations§
impl !RefUnwindSafe for DynamicJointValidator
impl !UnwindSafe for DynamicJointValidator
impl Freeze for DynamicJointValidator
impl Send for DynamicJointValidator
impl Sync for DynamicJointValidator
impl Unpin for DynamicJointValidator
impl UnsafeUnpin for DynamicJointValidator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.