pub struct Timescale { /* private fields */ }Expand description
The timescale in a VCD file
Implementations§
Source§impl Timescale
impl Timescale
pub const fn seconds(seconds: NonZeroU16) -> Self
pub const fn milliseconds(milliseconds: NonZeroU16) -> Self
pub const fn microseconds(microseconds: NonZeroU16) -> Self
pub const fn nanoseconds(nanoseconds: NonZeroU16) -> Self
pub const fn picoseconds(picoseconds: NonZeroU16) -> Self
Trait Implementations§
impl Copy for Timescale
Auto Trait Implementations§
impl Freeze for Timescale
impl RefUnwindSafe for Timescale
impl Send for Timescale
impl Sync for Timescale
impl Unpin for Timescale
impl UnwindSafe for Timescale
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> 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 more