pub enum PrismOutput {
Text(String),
Bytes(Vec<u8>),
}Expand description
Output from a Prism encode pass.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PrismOutput
impl Clone for PrismOutput
Source§fn clone(&self) -> PrismOutput
fn clone(&self) -> PrismOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrismOutput
impl Debug for PrismOutput
impl Eq for PrismOutput
Source§impl PartialEq for PrismOutput
impl PartialEq for PrismOutput
Source§fn eq(&self, other: &PrismOutput) -> bool
fn eq(&self, other: &PrismOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrismOutput
Auto Trait Implementations§
impl Freeze for PrismOutput
impl RefUnwindSafe for PrismOutput
impl Send for PrismOutput
impl Sync for PrismOutput
impl Unpin for PrismOutput
impl UnsafeUnpin for PrismOutput
impl UnwindSafe for PrismOutput
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