Struct PackedTuple

#[repr(C, packed(1))]
pub(in ::core_arch::s390x::vector) struct PackedTuple<T, U> { pub(in ::core_arch::s390x::vector) x: T, pub(in ::core_arch::s390x::vector) y: U }

Fields

x: T
y: U

Auto Trait Implementations

impl<T, U> Freeze for PackedTuple<T, U> where T: Freeze, U: Freeze,

impl<T, U> RefUnwindSafe for PackedTuple<T, U> where T: RefUnwindSafe, U: RefUnwindSafe,

impl<T, U> Send for PackedTuple<T, U> where T: Send, U: Send,

impl<T, U> Sync for PackedTuple<T, U> where T: Sync, U: Sync,

impl<T, U> Unpin for PackedTuple<T, U> where T: Unpin, U: Unpin,

impl<T, U> UnsafeUnpin for PackedTuple<T, U> where T: UnsafeUnpin, U: UnsafeUnpin,

impl<T, U> UnwindSafe for PackedTuple<T, U> where T: UnwindSafe, U: UnwindSafe,

Blanket Implementations

impl<T> Any for PackedTuple<T, U> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PackedTuple<T, U> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PackedTuple<T, U> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for PackedTuple<T, U>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for PackedTuple<T, U> where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for PackedTuple<T, U>

impl<T, U> Into<U> for PackedTuple<T, U> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for PackedTuple<T, U> where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for PackedTuple<T, U> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>