pub enum DecibelType {
Power,
Signal,
}Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for DecibelType
impl<'__de, __Context> BorrowDecode<'__de, __Context> for DecibelType
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for DecibelType
impl Clone for DecibelType
Source§fn clone(&self) -> DecibelType
fn clone(&self) -> DecibelType
Returns a duplicate 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<__Context> Decode<__Context> for DecibelType
impl<__Context> Decode<__Context> for DecibelType
Source§impl Encode for DecibelType
impl Encode for DecibelType
Source§impl From<DecibelType> for NativeType
impl From<DecibelType> for NativeType
Source§fn from(val: DecibelType) -> Self
fn from(val: DecibelType) -> Self
Converts to this type from the input type.
impl Copy for DecibelType
Auto Trait Implementations§
impl Freeze for DecibelType
impl RefUnwindSafe for DecibelType
impl Send for DecibelType
impl Sync for DecibelType
impl Unpin for DecibelType
impl UnwindSafe for DecibelType
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