#[repr(C)]pub struct PaddingHelper<Double: IStable<Align = U1>, Bit: IBitBase>(/* private fields */);Expand description
A helper to generate padding of appropriate size.
Trait Implementations§
Source§impl<Double: IStable<Align = U1> + Default, Bit: IBitBase> Default for PaddingHelper<Double, Bit>
impl<Double: IStable<Align = U1> + Default, Bit: IBitBase> Default for PaddingHelper<Double, Bit>
Source§impl<Double: IStable<Align = U1>, Bit: IBitBase> IStable for PaddingHelper<Double, Bit>
impl<Double: IStable<Align = U1>, Bit: IBitBase> IStable for PaddingHelper<Double, Bit>
Source§const REPORT: &'static TypeReport
const REPORT: &'static TypeReport
A compile-time generated report of the fields of the type, allowing for compatibility inspection.
Source§const ID: u64 = 12_375_681_673_216_407_606u64
const ID: u64 = 12_375_681_673_216_407_606u64
A stable (and ideally unique) identifier for the type. Often generated using
crate::report::gen_id, but can be manually set.Source§type Size = <<UInt<UInt<UTerm, B1>, B0> as IUnsigned>::Mul<<Double as IStable>::Size> as IUnsigned>::Add<<Bit as IBitBase>::_UTernary<UInt<UTerm, B1>, UTerm>>
type Size = <<UInt<UInt<UTerm, B1>, B0> as IUnsigned>::Mul<<Double as IStable>::Size> as IUnsigned>::Add<<Bit as IBitBase>::_UTernary<UInt<UTerm, B1>, UTerm>>
The size of the annotated type in bytes.
Source§type ForbiddenValues = End
type ForbiddenValues = End
The values that the annotated type cannot occupy.
Source§type ContainsIndirections = B0
type ContainsIndirections = B0
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Source§type HasExactlyOneNiche = B0
type HasExactlyOneNiche = B0
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type UnusedBits = <Tuple3<Double, Double, <Bit as IBitBase>::_Padding> as IStable>::UnusedBits
type UnusedBits = <Tuple3<Double, Double, <Bit as IBitBase>::_Padding> as IStable>::UnusedBits
The padding bits in the annotated types
impl<Double: IStable<Align = U1> + Copy, Bit: IBitBase> Copy for PaddingHelper<Double, Bit>
Auto Trait Implementations§
impl<Double, Bit> Freeze for PaddingHelper<Double, Bit>
impl<Double, Bit> RefUnwindSafe for PaddingHelper<Double, Bit>
impl<Double, Bit> Send for PaddingHelper<Double, Bit>
impl<Double, Bit> Sync for PaddingHelper<Double, Bit>
impl<Double, Bit> Unpin for PaddingHelper<Double, Bit>where
Double: Unpin,
impl<Double, Bit> UnwindSafe for PaddingHelper<Double, Bit>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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§impl<T> IPod for T
impl<T> IPod for T
Source§fn identifier() -> u64
fn identifier() -> u64
Produces an identifier for the type, allowing to check type at runtime (barring collisions).