pub struct ResourceDemand {
pub resource_id: ResourceId,
pub demand: u32,
}Expand description
Resource demand for an activity.
Fields§
§resource_id: ResourceId§demand: u32Trait Implementations§
Source§impl Clone for ResourceDemand
impl Clone for ResourceDemand
Source§fn clone(&self) -> ResourceDemand
fn clone(&self) -> ResourceDemand
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 ResourceDemand
impl Debug for ResourceDemand
impl Eq for ResourceDemand
Source§impl Hash for ResourceDemand
impl Hash for ResourceDemand
Source§impl PartialEq for ResourceDemand
impl PartialEq for ResourceDemand
impl StructuralPartialEq for ResourceDemand
Auto Trait Implementations§
impl Freeze for ResourceDemand
impl RefUnwindSafe for ResourceDemand
impl Send for ResourceDemand
impl Sync for ResourceDemand
impl Unpin for ResourceDemand
impl UnsafeUnpin for ResourceDemand
impl UnwindSafe for ResourceDemand
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