Enum maia_json::Ad9361GainMode
source · pub enum Ad9361GainMode {
Manual,
FastAttack,
SlowAttack,
Hybrid,
}Expand description
AD9361 gain control modes.
This enum lists the automatic gain control modes supported by the AD9361.
Variants§
Trait Implementations§
source§impl Clone for Ad9361GainMode
impl Clone for Ad9361GainMode
source§fn clone(&self) -> Ad9361GainMode
fn clone(&self) -> Ad9361GainMode
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 Ad9361GainMode
impl Debug for Ad9361GainMode
source§impl<'de> Deserialize<'de> for Ad9361GainMode
impl<'de> Deserialize<'de> for Ad9361GainMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Ad9361GainMode
impl Display for Ad9361GainMode
source§impl FromStr for Ad9361GainMode
impl FromStr for Ad9361GainMode
source§impl Hash for Ad9361GainMode
impl Hash for Ad9361GainMode
source§impl PartialEq for Ad9361GainMode
impl PartialEq for Ad9361GainMode
source§fn eq(&self, other: &Ad9361GainMode) -> bool
fn eq(&self, other: &Ad9361GainMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Ad9361GainMode
impl Serialize for Ad9361GainMode
impl Copy for Ad9361GainMode
impl Eq for Ad9361GainMode
impl StructuralEq for Ad9361GainMode
impl StructuralPartialEq for Ad9361GainMode
Auto Trait Implementations§
impl RefUnwindSafe for Ad9361GainMode
impl Send for Ad9361GainMode
impl Sync for Ad9361GainMode
impl Unpin for Ad9361GainMode
impl UnwindSafe for Ad9361GainMode
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