pub struct StructOpts {
pub packed: bool,
pub zero_copy: bool,
}Fields§
§packed: bool§zero_copy: boolTrait Implementations§
Source§impl Clone for StructOpts
impl Clone for StructOpts
Source§fn clone(&self) -> StructOpts
fn clone(&self) -> StructOpts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StructOpts
impl Default for StructOpts
Source§fn default() -> StructOpts
fn default() -> StructOpts
Returns the “default value” for a type. Read more
impl Copy for StructOpts
Auto Trait Implementations§
impl Freeze for StructOpts
impl RefUnwindSafe for StructOpts
impl Send for StructOpts
impl Sync for StructOpts
impl Unpin for StructOpts
impl UnwindSafe for StructOpts
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