#[repr(C)]pub struct Doubtleton {
pub first: Singleton,
pub second: Singleton,
}
Fields§
§first: Singleton
§second: Singleton
Trait Implementations§
Source§impl Clone for Doubtleton
impl Clone for Doubtleton
Source§fn clone(&self) -> Doubtleton
fn clone(&self) -> Doubtleton
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 Doubtleton
impl Debug for Doubtleton
Source§impl FromBytes for Doubtleton
impl FromBytes for Doubtleton
Source§impl FromZeros for Doubtleton
impl FromZeros for Doubtleton
Source§impl IntoBytes for Doubtleton
impl IntoBytes for Doubtleton
Source§impl PartialEq for Doubtleton
impl PartialEq for Doubtleton
Source§impl TryFromBytes for Doubtletonwhere
Singleton: TryFromBytes,
impl TryFromBytes for Doubtletonwhere
Singleton: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for Doubtleton
impl Eq for Doubtleton
impl StructuralPartialEq for Doubtleton
Auto Trait Implementations§
impl Freeze for Doubtleton
impl RefUnwindSafe for Doubtleton
impl Send for Doubtleton
impl Sync for Doubtleton
impl Unpin for Doubtleton
impl UnwindSafe for Doubtleton
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> 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
)