pub struct PhysicalWeightComponentRef {
pub component_id: WeightId,
pub physical_dimensions: Vec<u64>,
pub resource_bytes: u64,
pub element_type: ElementType,
}Fields§
§component_id: WeightId§physical_dimensions: Vec<u64>§resource_bytes: u64§element_type: ElementTypeTrait Implementations§
Source§impl Clone for PhysicalWeightComponentRef
impl Clone for PhysicalWeightComponentRef
Source§fn clone(&self) -> PhysicalWeightComponentRef
fn clone(&self) -> PhysicalWeightComponentRef
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 PhysicalWeightComponentRef
impl Debug for PhysicalWeightComponentRef
Source§impl<'de> Deserialize<'de> for PhysicalWeightComponentRef
impl<'de> Deserialize<'de> for PhysicalWeightComponentRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhysicalWeightComponentRef
impl StructuralPartialEq for PhysicalWeightComponentRef
Auto Trait Implementations§
impl Freeze for PhysicalWeightComponentRef
impl RefUnwindSafe for PhysicalWeightComponentRef
impl Send for PhysicalWeightComponentRef
impl Sync for PhysicalWeightComponentRef
impl Unpin for PhysicalWeightComponentRef
impl UnsafeUnpin for PhysicalWeightComponentRef
impl UnwindSafe for PhysicalWeightComponentRef
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