pub enum OutputKind {
NamedOutput(Ident),
Trigger,
}
Expand description
The kind of an output stream Can be either a regular output stream with a name or a trigger
Variants§
NamedOutput(Ident)
The output stream represents a regular named output stream
Trigger
The output stream represents a trigger
Trait Implementations§
Source§impl Clone for OutputKind
impl Clone for OutputKind
Source§fn clone(&self) -> OutputKind
fn clone(&self) -> OutputKind
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputKind
impl Debug for OutputKind
Source§impl Hash for OutputKind
impl Hash for OutputKind
Source§impl Ord for OutputKind
impl Ord for OutputKind
Source§fn cmp(&self, other: &OutputKind) -> Ordering
fn cmp(&self, other: &OutputKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutputKind
impl PartialEq for OutputKind
Source§impl PartialOrd for OutputKind
impl PartialOrd for OutputKind
impl Eq for OutputKind
impl StructuralPartialEq for OutputKind
Auto Trait Implementations§
impl Freeze for OutputKind
impl RefUnwindSafe for OutputKind
impl Send for OutputKind
impl Sync for OutputKind
impl Unpin for OutputKind
impl UnwindSafe for OutputKind
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