pub struct RoadmapProgress {
pub total: usize,
pub completed: usize,
}Expand description
进度统计(用于 RoadmapProgress 和 RoadmapVersion 中的进度字段)。
Fields§
§total: usize总条目数。
completed: usize已完成条目数。
Implementations§
Trait Implementations§
Source§impl Clone for RoadmapProgress
impl Clone for RoadmapProgress
Source§fn clone(&self) -> RoadmapProgress
fn clone(&self) -> RoadmapProgress
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 RoadmapProgress
impl Debug for RoadmapProgress
Source§impl PartialEq for RoadmapProgress
impl PartialEq for RoadmapProgress
Source§fn eq(&self, other: &RoadmapProgress) -> bool
fn eq(&self, other: &RoadmapProgress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoadmapProgress
Auto Trait Implementations§
impl Freeze for RoadmapProgress
impl RefUnwindSafe for RoadmapProgress
impl Send for RoadmapProgress
impl Sync for RoadmapProgress
impl Unpin for RoadmapProgress
impl UnsafeUnpin for RoadmapProgress
impl UnwindSafe for RoadmapProgress
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