Enum timely::logging::ParkEventReference

source ·
pub enum ParkEventReference<R0, R1> {
    Park(R0),
    Unpark(R1),
}
Expand description

Reference for an enum.

Variants§

§

Park(R0)

Enum variant for #names.

§

Unpark(R1)

Enum variant for #names.

Trait Implementations§

source§

impl<R0: Clone, R1: Clone> Clone for ParkEventReference<R0, R1>

source§

fn clone(&self) -> ParkEventReference<R0, R1>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<R0: Debug, R1: Debug> Debug for ParkEventReference<R0, R1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
where C0: Len + Push<R0>, C1: Len + Push<R1>,

source§

fn push(&mut self, item: ParkEventReference<R0, R1>)

Pushes an item onto self.
source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
source§

impl<R0: Copy, R1: Copy> Copy for ParkEventReference<R0, R1>

Auto Trait Implementations§

§

impl<R0, R1> Freeze for ParkEventReference<R0, R1>
where R0: Freeze, R1: Freeze,

§

impl<R0, R1> RefUnwindSafe for ParkEventReference<R0, R1>

§

impl<R0, R1> Send for ParkEventReference<R0, R1>
where R0: Send, R1: Send,

§

impl<R0, R1> Sync for ParkEventReference<R0, R1>
where R0: Sync, R1: Sync,

§

impl<R0, R1> Unpin for ParkEventReference<R0, R1>
where R0: Unpin, R1: Unpin,

§

impl<R0, R1> UnwindSafe for ParkEventReference<R0, R1>
where R0: UnwindSafe, R1: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CopyAs<T> for T

source§

fn copy_as(self) -> T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ProgressEventTimestamp for T
where T: Data + Debug + Any,

source§

fn as_any(&self) -> &(dyn Any + 'static)

Upcasts this ProgressEventTimestamp to Any. Read more
source§

fn type_name(&self) -> &'static str

Returns the name of the concrete type of this object. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> Data for T
where T: Clone + 'static,