pub struct RecordOptions {
pub packed: bool,
pub align: Option<u64>,
pub pack: Option<u64>,
}Expand description
What the program asked for on the record itself.
Fields§
§packed: boolpacked on the record, which is the same as packed on each of its members.
align: Option<u64>An alignment asked for with _Alignas or aligned, in bytes, which raises and never
lowers.
pack: Option<u64>The #pragma pack in effect, in bytes, which caps every member’s alignment.
Trait Implementations§
Source§impl Clone for RecordOptions
impl Clone for RecordOptions
Source§fn clone(&self) -> RecordOptions
fn clone(&self) -> RecordOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordOptions
Source§impl Debug for RecordOptions
impl Debug for RecordOptions
Source§impl Default for RecordOptions
impl Default for RecordOptions
Source§fn default() -> RecordOptions
fn default() -> RecordOptions
Returns the “default value” for a type. Read more
impl Eq for RecordOptions
Source§impl PartialEq for RecordOptions
impl PartialEq for RecordOptions
impl StructuralPartialEq for RecordOptions
Auto Trait Implementations§
impl Freeze for RecordOptions
impl RefUnwindSafe for RecordOptions
impl Send for RecordOptions
impl Sync for RecordOptions
impl Unpin for RecordOptions
impl UnsafeUnpin for RecordOptions
impl UnwindSafe for RecordOptions
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