pub struct WeightSlot {
pub name: String,
pub forward_id: NodeId,
pub offset: usize,
pub size: usize,
}Expand description
One named parameter and its byte range in the shared weight region.
Fields§
§name: String§forward_id: NodeId§offset: usize§size: usizeTrait Implementations§
Source§impl Clone for WeightSlot
impl Clone for WeightSlot
Source§fn clone(&self) -> WeightSlot
fn clone(&self) -> WeightSlot
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 moreSource§impl Debug for WeightSlot
impl Debug for WeightSlot
Source§impl PartialEq for WeightSlot
impl PartialEq for WeightSlot
Source§fn eq(&self, other: &WeightSlot) -> bool
fn eq(&self, other: &WeightSlot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WeightSlot
impl StructuralPartialEq for WeightSlot
Auto Trait Implementations§
impl Freeze for WeightSlot
impl RefUnwindSafe for WeightSlot
impl Send for WeightSlot
impl Sync for WeightSlot
impl Unpin for WeightSlot
impl UnsafeUnpin for WeightSlot
impl UnwindSafe for WeightSlot
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