pub struct SplitTime {
pub time: [f32; 2],
pub tags: Vec<[String; 2]>,
}Expand description
RC的时间分段资源。
Fields§
§time: [f32; 2]时间点(第一个值为页面运行时间,第二个值为总运行时间)。
标签。
Implementations§
Trait Implementations§
Source§impl PartialOrd for SplitTime
impl PartialOrd for SplitTime
Source§impl RustConstructorResource for SplitTime
impl RustConstructorResource for SplitTime
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
用于可变类型转换。
Source§fn display_display_info(&self) -> Option<DisplayInfo>
fn display_display_info(&self) -> Option<DisplayInfo>
显示显示信息。
Source§fn modify_display_info(&mut self, _display_info: DisplayInfo)
fn modify_display_info(&mut self, _display_info: DisplayInfo)
修改显示信息。
显示已有的标签。
修改已有的标签。
impl StructuralPartialEq for SplitTime
Auto Trait Implementations§
impl Freeze for SplitTime
impl RefUnwindSafe for SplitTime
impl Send for SplitTime
impl Sync for SplitTime
impl Unpin for SplitTime
impl UnwindSafe for SplitTime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().