[][src]Struct dqcsim::common::types::Cycle

#[repr(transparent)]pub struct Cycle(_);

Represents a simulation cycle.

Implementations

impl Cycle[src]

pub fn t_zero() -> Cycle[src]

Returns the first simulation cycle.

pub fn advance(self, cycles: Cycles) -> Cycle[src]

Advances by the specified number of cycles.

Trait Implementations

impl Add<i64> for Cycle[src]

type Output = Cycle

The resulting type after applying the + operator.

impl Clone for Cycle[src]

impl Copy for Cycle[src]

impl Debug for Cycle[src]

impl<'de> Deserialize<'de> for Cycle[src]

impl Display for Cycle[src]

impl Eq for Cycle[src]

impl Hash for Cycle[src]

impl Into<i64> for Cycle[src]

impl Into<u64> for Cycle[src]

impl PartialEq<Cycle> for Cycle[src]

impl Serialize for Cycle[src]

impl StructuralEq for Cycle[src]

impl StructuralPartialEq for Cycle[src]

impl Sub<Cycle> for Cycle[src]

type Output = CycleDelta

The resulting type after applying the - operator.

impl Sub<i64> for Cycle[src]

type Output = Cycle

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Cycle

impl Send for Cycle

impl Sync for Cycle

impl Unpin for Cycle

impl UnwindSafe for Cycle

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,