Enum cros_codecs::ResolutionRoundMode
source · pub enum ResolutionRoundMode {
Even,
}
Expand description
Rounding modes for Resolution
Variants§
Even
Rounds component-wise to the next even value.
Trait Implementations§
source§impl Clone for ResolutionRoundMode
impl Clone for ResolutionRoundMode
source§fn clone(&self) -> ResolutionRoundMode
fn clone(&self) -> ResolutionRoundMode
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 Debug for ResolutionRoundMode
impl Debug for ResolutionRoundMode
source§impl PartialEq<ResolutionRoundMode> for ResolutionRoundMode
impl PartialEq<ResolutionRoundMode> for ResolutionRoundMode
source§fn eq(&self, other: &ResolutionRoundMode) -> bool
fn eq(&self, other: &ResolutionRoundMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResolutionRoundMode
impl Eq for ResolutionRoundMode
impl StructuralEq for ResolutionRoundMode
impl StructuralPartialEq for ResolutionRoundMode
Auto Trait Implementations§
impl RefUnwindSafe for ResolutionRoundMode
impl Send for ResolutionRoundMode
impl Sync for ResolutionRoundMode
impl Unpin for ResolutionRoundMode
impl UnwindSafe for ResolutionRoundMode
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