Struct mithril_client::common::BlockNumber
source · pub struct BlockNumber(pub u64);
Expand description
BlockNumber is the block number of a Cardano transaction.
Tuple Fields§
§0: u64
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Add<&BlockNumber> for &u64
impl Add<&BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
+
operator.source§fn add(self, rhs: &BlockNumber) -> <&u64 as Add<&BlockNumber>>::Output
fn add(self, rhs: &BlockNumber) -> <&u64 as Add<&BlockNumber>>::Output
Performs the
+
operation. Read moresource§impl Add<&BlockNumber> for u64
impl Add<&BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
+
operator.source§fn add(self, rhs: &BlockNumber) -> <u64 as Add<&BlockNumber>>::Output
fn add(self, rhs: &BlockNumber) -> <u64 as Add<&BlockNumber>>::Output
Performs the
+
operation. Read moresource§impl Add<&u64> for BlockNumber
impl Add<&u64> for BlockNumber
source§impl Add<BlockNumber> for &u64
impl Add<BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
+
operator.source§fn add(self, rhs: BlockNumber) -> <&u64 as Add<BlockNumber>>::Output
fn add(self, rhs: BlockNumber) -> <&u64 as Add<BlockNumber>>::Output
Performs the
+
operation. Read moresource§impl Add<BlockNumber> for u64
impl Add<BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
+
operator.source§fn add(self, rhs: BlockNumber) -> <u64 as Add<BlockNumber>>::Output
fn add(self, rhs: BlockNumber) -> <u64 as Add<BlockNumber>>::Output
Performs the
+
operation. Read moresource§impl Add<u64> for BlockNumber
impl Add<u64> for BlockNumber
source§impl Add for BlockNumber
impl Add for BlockNumber
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
+
operator.source§fn add(self, rhs: BlockNumber) -> <BlockNumber as Add>::Output
fn add(self, rhs: BlockNumber) -> <BlockNumber as Add>::Output
Performs the
+
operation. Read moresource§impl AddAssign<&BlockNumber> for u64
impl AddAssign<&BlockNumber> for u64
source§fn add_assign(&mut self, rhs: &BlockNumber)
fn add_assign(&mut self, rhs: &BlockNumber)
Performs the
+=
operation. Read moresource§impl AddAssign<&u64> for BlockNumber
impl AddAssign<&u64> for BlockNumber
source§fn add_assign(&mut self, rhs: &u64)
fn add_assign(&mut self, rhs: &u64)
Performs the
+=
operation. Read moresource§impl AddAssign<BlockNumber> for u64
impl AddAssign<BlockNumber> for u64
source§fn add_assign(&mut self, rhs: BlockNumber)
fn add_assign(&mut self, rhs: BlockNumber)
Performs the
+=
operation. Read moresource§impl AddAssign<u64> for BlockNumber
impl AddAssign<u64> for BlockNumber
source§fn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
Performs the
+=
operation. Read moresource§impl AddAssign for BlockNumber
impl AddAssign for BlockNumber
source§fn add_assign(&mut self, rhs: BlockNumber)
fn add_assign(&mut self, rhs: BlockNumber)
Performs the
+=
operation. Read moresource§impl Clone for BlockNumber
impl Clone for BlockNumber
source§fn clone(&self) -> BlockNumber
fn clone(&self) -> BlockNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockNumber
impl Debug for BlockNumber
source§impl Default for BlockNumber
impl Default for BlockNumber
source§fn default() -> BlockNumber
fn default() -> BlockNumber
Returns the “default value” for a type. Read more
source§impl Deref for BlockNumber
impl Deref for BlockNumber
source§impl DerefMut for BlockNumber
impl DerefMut for BlockNumber
source§impl<'de> Deserialize<'de> for BlockNumber
impl<'de> Deserialize<'de> for BlockNumber
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockNumber, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockNumber, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BlockNumber
impl Display for BlockNumber
source§impl Div<&BlockNumber> for &u64
impl Div<&BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
/
operator.source§fn div(self, rhs: &BlockNumber) -> <&u64 as Div<&BlockNumber>>::Output
fn div(self, rhs: &BlockNumber) -> <&u64 as Div<&BlockNumber>>::Output
Performs the
/
operation. Read moresource§impl Div<&BlockNumber> for u64
impl Div<&BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
/
operator.source§fn div(self, rhs: &BlockNumber) -> <u64 as Div<&BlockNumber>>::Output
fn div(self, rhs: &BlockNumber) -> <u64 as Div<&BlockNumber>>::Output
Performs the
/
operation. Read moresource§impl Div<&u64> for BlockNumber
impl Div<&u64> for BlockNumber
source§impl Div<BlockNumber> for &u64
impl Div<BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
/
operator.source§fn div(self, rhs: BlockNumber) -> <&u64 as Div<BlockNumber>>::Output
fn div(self, rhs: BlockNumber) -> <&u64 as Div<BlockNumber>>::Output
Performs the
/
operation. Read moresource§impl Div<BlockNumber> for u64
impl Div<BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
/
operator.source§fn div(self, rhs: BlockNumber) -> <u64 as Div<BlockNumber>>::Output
fn div(self, rhs: BlockNumber) -> <u64 as Div<BlockNumber>>::Output
Performs the
/
operation. Read moresource§impl Div<u64> for BlockNumber
impl Div<u64> for BlockNumber
source§impl Div for BlockNumber
impl Div for BlockNumber
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
/
operator.source§fn div(self, rhs: BlockNumber) -> <BlockNumber as Div>::Output
fn div(self, rhs: BlockNumber) -> <BlockNumber as Div>::Output
Performs the
/
operation. Read moresource§impl DivAssign<&BlockNumber> for u64
impl DivAssign<&BlockNumber> for u64
source§fn div_assign(&mut self, rhs: &BlockNumber)
fn div_assign(&mut self, rhs: &BlockNumber)
Performs the
/=
operation. Read moresource§impl DivAssign<&u64> for BlockNumber
impl DivAssign<&u64> for BlockNumber
source§fn div_assign(&mut self, rhs: &u64)
fn div_assign(&mut self, rhs: &u64)
Performs the
/=
operation. Read moresource§impl DivAssign<BlockNumber> for u64
impl DivAssign<BlockNumber> for u64
source§fn div_assign(&mut self, rhs: BlockNumber)
fn div_assign(&mut self, rhs: BlockNumber)
Performs the
/=
operation. Read moresource§impl DivAssign<u64> for BlockNumber
impl DivAssign<u64> for BlockNumber
source§fn div_assign(&mut self, rhs: u64)
fn div_assign(&mut self, rhs: u64)
Performs the
/=
operation. Read moresource§impl DivAssign for BlockNumber
impl DivAssign for BlockNumber
source§fn div_assign(&mut self, rhs: BlockNumber)
fn div_assign(&mut self, rhs: BlockNumber)
Performs the
/=
operation. Read moresource§impl Hash for BlockNumber
impl Hash for BlockNumber
source§impl Mul<&BlockNumber> for &u64
impl Mul<&BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
*
operator.source§fn mul(self, rhs: &BlockNumber) -> <&u64 as Mul<&BlockNumber>>::Output
fn mul(self, rhs: &BlockNumber) -> <&u64 as Mul<&BlockNumber>>::Output
Performs the
*
operation. Read moresource§impl Mul<&BlockNumber> for u64
impl Mul<&BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
*
operator.source§fn mul(self, rhs: &BlockNumber) -> <u64 as Mul<&BlockNumber>>::Output
fn mul(self, rhs: &BlockNumber) -> <u64 as Mul<&BlockNumber>>::Output
Performs the
*
operation. Read moresource§impl Mul<&u64> for BlockNumber
impl Mul<&u64> for BlockNumber
source§impl Mul<BlockNumber> for &u64
impl Mul<BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
*
operator.source§fn mul(self, rhs: BlockNumber) -> <&u64 as Mul<BlockNumber>>::Output
fn mul(self, rhs: BlockNumber) -> <&u64 as Mul<BlockNumber>>::Output
Performs the
*
operation. Read moresource§impl Mul<BlockNumber> for u64
impl Mul<BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
*
operator.source§fn mul(self, rhs: BlockNumber) -> <u64 as Mul<BlockNumber>>::Output
fn mul(self, rhs: BlockNumber) -> <u64 as Mul<BlockNumber>>::Output
Performs the
*
operation. Read moresource§impl Mul<u64> for BlockNumber
impl Mul<u64> for BlockNumber
source§impl Mul for BlockNumber
impl Mul for BlockNumber
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
*
operator.source§fn mul(self, rhs: BlockNumber) -> <BlockNumber as Mul>::Output
fn mul(self, rhs: BlockNumber) -> <BlockNumber as Mul>::Output
Performs the
*
operation. Read moresource§impl MulAssign<&BlockNumber> for u64
impl MulAssign<&BlockNumber> for u64
source§fn mul_assign(&mut self, rhs: &BlockNumber)
fn mul_assign(&mut self, rhs: &BlockNumber)
Performs the
*=
operation. Read moresource§impl MulAssign<&u64> for BlockNumber
impl MulAssign<&u64> for BlockNumber
source§fn mul_assign(&mut self, rhs: &u64)
fn mul_assign(&mut self, rhs: &u64)
Performs the
*=
operation. Read moresource§impl MulAssign<BlockNumber> for u64
impl MulAssign<BlockNumber> for u64
source§fn mul_assign(&mut self, rhs: BlockNumber)
fn mul_assign(&mut self, rhs: BlockNumber)
Performs the
*=
operation. Read moresource§impl MulAssign<u64> for BlockNumber
impl MulAssign<u64> for BlockNumber
source§fn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
Performs the
*=
operation. Read moresource§impl MulAssign for BlockNumber
impl MulAssign for BlockNumber
source§fn mul_assign(&mut self, rhs: BlockNumber)
fn mul_assign(&mut self, rhs: BlockNumber)
Performs the
*=
operation. Read moresource§impl Ord for BlockNumber
impl Ord for BlockNumber
source§fn cmp(&self, other: &BlockNumber) -> Ordering
fn cmp(&self, other: &BlockNumber) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<&BlockNumber> for BlockNumber
impl PartialEq<&BlockNumber> for BlockNumber
source§impl PartialEq<&BlockNumber> for u64
impl PartialEq<&BlockNumber> for u64
source§impl PartialEq<&u64> for BlockNumber
impl PartialEq<&u64> for BlockNumber
source§impl PartialEq<BlockNumber> for &BlockNumber
impl PartialEq<BlockNumber> for &BlockNumber
source§impl PartialEq<BlockNumber> for &u64
impl PartialEq<BlockNumber> for &u64
source§impl PartialEq<BlockNumber> for u64
impl PartialEq<BlockNumber> for u64
source§impl PartialEq<u64> for &BlockNumber
impl PartialEq<u64> for &BlockNumber
source§impl PartialEq<u64> for BlockNumber
impl PartialEq<u64> for BlockNumber
source§impl PartialEq for BlockNumber
impl PartialEq for BlockNumber
source§impl PartialOrd for BlockNumber
impl PartialOrd for BlockNumber
source§impl Rem<&BlockNumber> for &u64
impl Rem<&BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
%
operator.source§fn rem(self, rhs: &BlockNumber) -> <&u64 as Rem<&BlockNumber>>::Output
fn rem(self, rhs: &BlockNumber) -> <&u64 as Rem<&BlockNumber>>::Output
Performs the
%
operation. Read moresource§impl Rem<&BlockNumber> for u64
impl Rem<&BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
%
operator.source§fn rem(self, rhs: &BlockNumber) -> <u64 as Rem<&BlockNumber>>::Output
fn rem(self, rhs: &BlockNumber) -> <u64 as Rem<&BlockNumber>>::Output
Performs the
%
operation. Read moresource§impl Rem<&u64> for BlockNumber
impl Rem<&u64> for BlockNumber
source§impl Rem<BlockNumber> for &u64
impl Rem<BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
%
operator.source§fn rem(self, rhs: BlockNumber) -> <&u64 as Rem<BlockNumber>>::Output
fn rem(self, rhs: BlockNumber) -> <&u64 as Rem<BlockNumber>>::Output
Performs the
%
operation. Read moresource§impl Rem<BlockNumber> for u64
impl Rem<BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
%
operator.source§fn rem(self, rhs: BlockNumber) -> <u64 as Rem<BlockNumber>>::Output
fn rem(self, rhs: BlockNumber) -> <u64 as Rem<BlockNumber>>::Output
Performs the
%
operation. Read moresource§impl Rem<u64> for BlockNumber
impl Rem<u64> for BlockNumber
source§impl Rem for BlockNumber
impl Rem for BlockNumber
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
%
operator.source§fn rem(self, rhs: BlockNumber) -> <BlockNumber as Rem>::Output
fn rem(self, rhs: BlockNumber) -> <BlockNumber as Rem>::Output
Performs the
%
operation. Read moresource§impl RemAssign<&BlockNumber> for u64
impl RemAssign<&BlockNumber> for u64
source§fn rem_assign(&mut self, rhs: &BlockNumber)
fn rem_assign(&mut self, rhs: &BlockNumber)
Performs the
%=
operation. Read moresource§impl RemAssign<&u64> for BlockNumber
impl RemAssign<&u64> for BlockNumber
source§fn rem_assign(&mut self, rhs: &u64)
fn rem_assign(&mut self, rhs: &u64)
Performs the
%=
operation. Read moresource§impl RemAssign<BlockNumber> for u64
impl RemAssign<BlockNumber> for u64
source§fn rem_assign(&mut self, rhs: BlockNumber)
fn rem_assign(&mut self, rhs: BlockNumber)
Performs the
%=
operation. Read moresource§impl RemAssign<u64> for BlockNumber
impl RemAssign<u64> for BlockNumber
source§fn rem_assign(&mut self, rhs: u64)
fn rem_assign(&mut self, rhs: u64)
Performs the
%=
operation. Read moresource§impl RemAssign for BlockNumber
impl RemAssign for BlockNumber
source§fn rem_assign(&mut self, rhs: BlockNumber)
fn rem_assign(&mut self, rhs: BlockNumber)
Performs the
%=
operation. Read moresource§impl Serialize for BlockNumber
impl Serialize for BlockNumber
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Sub<&BlockNumber> for &u64
impl Sub<&BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
-
operator.source§fn sub(self, rhs: &BlockNumber) -> <&u64 as Sub<&BlockNumber>>::Output
fn sub(self, rhs: &BlockNumber) -> <&u64 as Sub<&BlockNumber>>::Output
Performs the
-
operation. Read moresource§impl Sub<&BlockNumber> for u64
impl Sub<&BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
-
operator.source§fn sub(self, rhs: &BlockNumber) -> <u64 as Sub<&BlockNumber>>::Output
fn sub(self, rhs: &BlockNumber) -> <u64 as Sub<&BlockNumber>>::Output
Performs the
-
operation. Read moresource§impl Sub<&u64> for BlockNumber
impl Sub<&u64> for BlockNumber
source§impl Sub<BlockNumber> for &u64
impl Sub<BlockNumber> for &u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
-
operator.source§fn sub(self, rhs: BlockNumber) -> <&u64 as Sub<BlockNumber>>::Output
fn sub(self, rhs: BlockNumber) -> <&u64 as Sub<BlockNumber>>::Output
Performs the
-
operation. Read moresource§impl Sub<BlockNumber> for u64
impl Sub<BlockNumber> for u64
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
-
operator.source§fn sub(self, rhs: BlockNumber) -> <u64 as Sub<BlockNumber>>::Output
fn sub(self, rhs: BlockNumber) -> <u64 as Sub<BlockNumber>>::Output
Performs the
-
operation. Read moresource§impl Sub<u64> for BlockNumber
impl Sub<u64> for BlockNumber
source§impl Sub for BlockNumber
impl Sub for BlockNumber
source§type Output = BlockNumber
type Output = BlockNumber
The resulting type after applying the
-
operator.source§fn sub(self, rhs: BlockNumber) -> <BlockNumber as Sub>::Output
fn sub(self, rhs: BlockNumber) -> <BlockNumber as Sub>::Output
Performs the
-
operation. Read moresource§impl SubAssign<&BlockNumber> for u64
impl SubAssign<&BlockNumber> for u64
source§fn sub_assign(&mut self, rhs: &BlockNumber)
fn sub_assign(&mut self, rhs: &BlockNumber)
Performs the
-=
operation. Read moresource§impl SubAssign<&u64> for BlockNumber
impl SubAssign<&u64> for BlockNumber
source§fn sub_assign(&mut self, rhs: &u64)
fn sub_assign(&mut self, rhs: &u64)
Performs the
-=
operation. Read moresource§impl SubAssign<BlockNumber> for u64
impl SubAssign<BlockNumber> for u64
source§fn sub_assign(&mut self, rhs: BlockNumber)
fn sub_assign(&mut self, rhs: BlockNumber)
Performs the
-=
operation. Read moresource§impl SubAssign<u64> for BlockNumber
impl SubAssign<u64> for BlockNumber
source§fn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
Performs the
-=
operation. Read moresource§impl SubAssign for BlockNumber
impl SubAssign for BlockNumber
source§fn sub_assign(&mut self, rhs: BlockNumber)
fn sub_assign(&mut self, rhs: BlockNumber)
Performs the
-=
operation. Read moreimpl Beacon for BlockNumber
impl Copy for BlockNumber
impl Eq for BlockNumber
impl StructuralPartialEq for BlockNumber
Auto Trait Implementations§
impl Freeze for BlockNumber
impl RefUnwindSafe for BlockNumber
impl Send for BlockNumber
impl Sync for BlockNumber
impl Unpin for BlockNumber
impl UnwindSafe for BlockNumber
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.