Enum libcst_native::YieldValue
source · pub enum YieldValue<'a> {
Expression(Box<Expression<'a>>),
From(Box<From<'a>>),
}Variants§
Trait Implementations§
source§impl<'a> Clone for YieldValue<'a>
impl<'a> Clone for YieldValue<'a>
source§fn clone(&self) -> YieldValue<'a>
fn clone(&self) -> YieldValue<'a>
Returns a copy 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<'a> Debug for YieldValue<'a>
impl<'a> Debug for YieldValue<'a>
source§impl<'a> PartialEq<YieldValue<'a>> for YieldValue<'a>
impl<'a> PartialEq<YieldValue<'a>> for YieldValue<'a>
source§fn eq(&self, other: &YieldValue<'a>) -> bool
fn eq(&self, other: &YieldValue<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for YieldValue<'a>
impl<'a> StructuralEq for YieldValue<'a>
impl<'a> StructuralPartialEq for YieldValue<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for YieldValue<'a>
impl<'a> Send for YieldValue<'a>
impl<'a> Sync for YieldValue<'a>
impl<'a> Unpin for YieldValue<'a>
impl<'a> UnwindSafe for YieldValue<'a>
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