pub enum IsReference {
No,
ShortTerm,
LongTerm,
}Expand description
Whether a frame is used as a reference, and for how long. (Vendored from discord/cros-codecs, BSD-3-Clause; used by the slice synthesizer.)
Variants§
Trait Implementations§
Source§impl Clone for IsReference
impl Clone for IsReference
Source§fn clone(&self) -> IsReference
fn clone(&self) -> IsReference
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 moreimpl Copy for IsReference
Source§impl Debug for IsReference
impl Debug for IsReference
impl Eq for IsReference
Source§impl PartialEq for IsReference
impl PartialEq for IsReference
Source§fn eq(&self, other: &IsReference) -> bool
fn eq(&self, other: &IsReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IsReference
Auto Trait Implementations§
impl Freeze for IsReference
impl RefUnwindSafe for IsReference
impl Send for IsReference
impl Sync for IsReference
impl Unpin for IsReference
impl UnsafeUnpin for IsReference
impl UnwindSafe for IsReference
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