Searched defs:DstLayout (Results 1 – 1 of 1) sorted by relevance
33 pub struct DstLayout { struct34 pub(crate) align: NonZeroUsize,35 pub(crate) size_info: SizeInfo,40 pub(crate) statically_shallow_unpadded: bool,105 impl DstLayout { impl185 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()209 pub const fn for_type<T>() -> DstLayout { in for_type()233 pub const fn for_unpadded_type<T>() -> DstLayout { in for_unpadded_type()242 pub(crate) const fn for_slice<T>() -> DstLayout { in for_slice()283 fields: &[DstLayout], in for_repr_c_struct()[all …]