Struct RuntimeAlign
pub struct RuntimeAlign { /* private fields */ }
Type wrapping a runtime alignment value.
Trait Implementations
impl Alignment for RuntimeAlign
fn new(align: usize, minimum_align: usize) -> Selffn alignment(self, minimum_align: usize) -> usize
impl Clone for RuntimeAlign
fn clone(&self) -> RuntimeAlign
impl Copy for RuntimeAlign
Auto Trait Implementations
impl Freeze for RuntimeAlign
impl RefUnwindSafe for RuntimeAlign
impl Send for RuntimeAlign
impl Sync for RuntimeAlign
impl Unpin for RuntimeAlign
impl UnsafeUnpin for RuntimeAlign
impl UnwindSafe for RuntimeAlign
Blanket Implementations
impl<T> Any for RuntimeAlign
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RuntimeAlign
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RuntimeAlign
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for RuntimeAlign
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for RuntimeAlign
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RuntimeAlign
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for RuntimeAlign
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for RuntimeAlign
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 RuntimeAlign
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>