pub struct StructInit {
pub first_field: usize,
pub num_fields: usize,
}Fields§
§first_field: usize§num_fields: usizeTrait Implementations§
Source§impl Clone for StructInit
impl Clone for StructInit
Source§fn clone(&self) -> StructInit
fn clone(&self) -> StructInit
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 Debug for StructInit
impl Debug for StructInit
impl Copy for StructInit
Auto Trait Implementations§
impl Freeze for StructInit
impl RefUnwindSafe for StructInit
impl Send for StructInit
impl Sync for StructInit
impl Unpin for StructInit
impl UnwindSafe for StructInit
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