pub struct UnwrapBitsExample(/* private fields */);
Available on crate feature
nightly
only.Expand description
A type showcasing the UnwrapBits
derive.
Trait Implementations§
Source§impl Bits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
impl Bits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
impl Bits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
impl Bits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
impl Bits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for i8
impl Bits<UnwrapBitsExample> for i8
Source§impl Bits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
impl Bits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
impl Bits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
impl Bits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
impl Bits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
Source§impl Bits<UnwrapBitsExample> for u8
impl Bits<UnwrapBitsExample> for u8
Source§impl From<UnwrapBitsExample> for u8
impl From<UnwrapBitsExample> for u8
Source§fn from(other: UnwrapBitsExample) -> Self
fn from(other: UnwrapBitsExample) -> Self
Converts to this type from the input type.
Source§impl SetBits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for i8
impl SetBits<UnwrapBitsExample> for i8
Source§impl SetBits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
impl SetBits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
Source§impl SetBits<UnwrapBitsExample> for u8
impl SetBits<UnwrapBitsExample> for u8
Source§impl TryFrom<u8> for UnwrapBitsExample
impl TryFrom<u8> for UnwrapBitsExample
Source§impl WithBits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for i128where
UnwrapBitsExample: TryFrom<i128> + Into<i128>,
<UnwrapBitsExample as TryFrom<i128>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for i16where
UnwrapBitsExample: TryFrom<i16> + Into<i16>,
<UnwrapBitsExample as TryFrom<i16>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for i32where
UnwrapBitsExample: TryFrom<i32> + Into<i32>,
<UnwrapBitsExample as TryFrom<i32>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for i64where
UnwrapBitsExample: TryFrom<i64> + Into<i64>,
<UnwrapBitsExample as TryFrom<i64>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for i8
impl WithBits<UnwrapBitsExample> for i8
Source§impl WithBits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for u128where
UnwrapBitsExample: TryFrom<u128> + Into<u128>,
<UnwrapBitsExample as TryFrom<u128>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for u16where
UnwrapBitsExample: TryFrom<u16> + Into<u16>,
<UnwrapBitsExample as TryFrom<u16>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for u32where
UnwrapBitsExample: TryFrom<u32> + Into<u32>,
<UnwrapBitsExample as TryFrom<u32>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
impl WithBits<UnwrapBitsExample> for u64where
UnwrapBitsExample: TryFrom<u64> + Into<u64>,
<UnwrapBitsExample as TryFrom<u64>>::Error: Debug,
Source§impl WithBits<UnwrapBitsExample> for u8
impl WithBits<UnwrapBitsExample> for u8
Auto Trait Implementations§
impl Freeze for UnwrapBitsExample
impl RefUnwindSafe for UnwrapBitsExample
impl Send for UnwrapBitsExample
impl Sync for UnwrapBitsExample
impl Unpin for UnwrapBitsExample
impl UnwindSafe for UnwrapBitsExample
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, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
Source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
Source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
Source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.