pub struct ComputeUnits {
pub consumed: u64,
pub budget: u64,
}
Fields§
§consumed: u64
§budget: u64
Trait Implementations§
Source§impl Clone for ComputeUnits
impl Clone for ComputeUnits
Source§fn clone(&self) -> ComputeUnits
fn clone(&self) -> ComputeUnits
Returns a copy 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 ComputeUnits
impl Debug for ComputeUnits
Source§impl From<ParsedCuLog> for ComputeUnits
impl From<ParsedCuLog> for ComputeUnits
Source§fn from(value: ParsedCuLog) -> Self
fn from(value: ParsedCuLog) -> Self
Converts to this type from the input type.
Source§impl From<RawCuLog<'_>> for ComputeUnits
impl From<RawCuLog<'_>> for ComputeUnits
Source§impl PartialEq for ComputeUnits
impl PartialEq for ComputeUnits
impl Eq for ComputeUnits
impl StructuralPartialEq for ComputeUnits
Auto Trait Implementations§
impl Freeze for ComputeUnits
impl RefUnwindSafe for ComputeUnits
impl Send for ComputeUnits
impl Sync for ComputeUnits
impl Unpin for ComputeUnits
impl UnwindSafe for ComputeUnits
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