pub struct TaskCounter {
pub counter: u32,
}
Expand description
Comptime counter for loading tasks
Fields§
§counter: u32
Trait Implementations§
Source§impl Clone for TaskCounter
impl Clone for TaskCounter
Source§fn clone(&self) -> TaskCounter
fn clone(&self) -> TaskCounter
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 CubeType for TaskCounter
impl CubeType for TaskCounter
type ExpandType = TaskCounterExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Auto Trait Implementations§
impl Freeze for TaskCounter
impl RefUnwindSafe for TaskCounter
impl Send for TaskCounter
impl Sync for TaskCounter
impl Unpin for TaskCounter
impl UnwindSafe for TaskCounter
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