pub enum RingBuffersRoleValue {
Provide,
Use,
}
Variants§
Implementations§
Source§impl RingBuffersRoleValue
impl RingBuffersRoleValue
pub fn is_provide(self) -> bool
pub fn is_use(self) -> bool
Trait Implementations§
Source§impl Clone for RingBuffersRoleValue
impl Clone for RingBuffersRoleValue
Source§fn clone(&self) -> RingBuffersRoleValue
fn clone(&self) -> RingBuffersRoleValue
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RingBuffersRoleValue
impl Debug for RingBuffersRoleValue
Source§impl Hash for RingBuffersRoleValue
impl Hash for RingBuffersRoleValue
Source§impl Ord for RingBuffersRoleValue
impl Ord for RingBuffersRoleValue
Source§impl PartialEq for RingBuffersRoleValue
impl PartialEq for RingBuffersRoleValue
Source§impl PartialOrd for RingBuffersRoleValue
impl PartialOrd for RingBuffersRoleValue
Source§fn partial_cmp(&self, other: &RingBuffersRoleValue) -> Option<Ordering>
fn partial_cmp(&self, other: &RingBuffersRoleValue) -> Option<Ordering>
impl Copy for RingBuffersRoleValue
impl Eq for RingBuffersRoleValue
impl StructuralPartialEq for RingBuffersRoleValue
Auto Trait Implementations§
impl Freeze for RingBuffersRoleValue
impl RefUnwindSafe for RingBuffersRoleValue
impl Send for RingBuffersRoleValue
impl Sync for RingBuffersRoleValue
impl Unpin for RingBuffersRoleValue
impl UnwindSafe for RingBuffersRoleValue
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)