pub struct ProfileMarker {
pub name: String,
pub time_ns: u64,
pub frame: u64,
pub color: [f32; 4],
pub extra: String,
}Expand description
A named annotation at a point in time (for debugging events).
Fields§
§name: String§time_ns: u64§frame: u64§color: [f32; 4]§extra: StringTrait Implementations§
Source§impl Clone for ProfileMarker
impl Clone for ProfileMarker
Source§fn clone(&self) -> ProfileMarker
fn clone(&self) -> ProfileMarker
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 moreAuto Trait Implementations§
impl Freeze for ProfileMarker
impl RefUnwindSafe for ProfileMarker
impl Send for ProfileMarker
impl Sync for ProfileMarker
impl Unpin for ProfileMarker
impl UnsafeUnpin for ProfileMarker
impl UnwindSafe for ProfileMarker
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