Struct DebugEntry
pub struct DebugEntry {
pub id: String,
pub group: DebugGroup,
}Expand description
A debug entry a native mod registers: its id and the vanilla group its lines are drawn in.
Fields§
§id: String<namespace>:<path> in a namespace other than vanilla’s, like mymod:tick_cost.
group: DebugGroupThe group its lines join, with vanilla’s lines of that group, or DebugGroup::Renderer.
Trait Implementations§
§impl Clone for DebugEntry
impl Clone for DebugEntry
§fn clone(&self) -> DebugEntry
fn clone(&self) -> DebugEntry
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 more§impl Debug for DebugEntry
impl Debug for DebugEntry
impl Eq for DebugEntry
§impl PartialEq for DebugEntry
impl PartialEq for DebugEntry
impl StructuralPartialEq for DebugEntry
Auto Trait Implementations§
impl Freeze for DebugEntry
impl RefUnwindSafe for DebugEntry
impl Send for DebugEntry
impl Sync for DebugEntry
impl Unpin for DebugEntry
impl UnsafeUnpin for DebugEntry
impl UnwindSafe for DebugEntry
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