pub struct AudioLevelObserverOptions {
pub max_entries: u16,
pub threshold: i8,
pub interval: u16,
}
Expand description
The table AudioLevelObserverOptions
in the namespace FBS.AudioLevelObserver
Generated from these locations:
- Table
AudioLevelObserverOptions
in the filefbs/audioLevelObserver.fbs:3
Fields§
§max_entries: u16
The field max_entries
in the table AudioLevelObserverOptions
threshold: i8
The field threshold
in the table AudioLevelObserverOptions
interval: u16
The field interval
in the table AudioLevelObserverOptions
Implementations§
Source§impl AudioLevelObserverOptions
impl AudioLevelObserverOptions
Sourcepub fn builder() -> AudioLevelObserverOptionsBuilder<()>
pub fn builder() -> AudioLevelObserverOptionsBuilder<()>
Creates a AudioLevelObserverOptionsBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_max_entries: impl WriteAsDefault<u16, u16>, field_threshold: impl WriteAsDefault<i8, i8>, field_interval: impl WriteAsDefault<u16, u16>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for AudioLevelObserverOptions
impl Clone for AudioLevelObserverOptions
Source§fn clone(&self) -> AudioLevelObserverOptions
fn clone(&self) -> AudioLevelObserverOptions
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 AudioLevelObserverOptions
impl Debug for AudioLevelObserverOptions
Source§impl Default for AudioLevelObserverOptions
impl Default for AudioLevelObserverOptions
Source§impl<'de> Deserialize<'de> for AudioLevelObserverOptions
impl<'de> Deserialize<'de> for AudioLevelObserverOptions
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 Hash for AudioLevelObserverOptions
impl Hash for AudioLevelObserverOptions
Source§impl Ord for AudioLevelObserverOptions
impl Ord for AudioLevelObserverOptions
Source§fn cmp(&self, other: &AudioLevelObserverOptions) -> Ordering
fn cmp(&self, other: &AudioLevelObserverOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AudioLevelObserverOptions
impl PartialOrd for AudioLevelObserverOptions
Source§impl<'a> TryFrom<AudioLevelObserverOptionsRef<'a>> for AudioLevelObserverOptions
impl<'a> TryFrom<AudioLevelObserverOptionsRef<'a>> for AudioLevelObserverOptions
impl Eq for AudioLevelObserverOptions
impl StructuralPartialEq for AudioLevelObserverOptions
impl VectorWrite<Offset<AudioLevelObserverOptions>> for AudioLevelObserverOptions
impl WriteAs<Offset<AudioLevelObserverOptions>> for AudioLevelObserverOptions
impl WriteAsOffset<AudioLevelObserverOptions> for AudioLevelObserverOptions
impl<T0: WriteAsDefault<u16, u16>, T1: WriteAsDefault<i8, i8>, T2: WriteAsDefault<u16, u16>> WriteAsOffset<AudioLevelObserverOptions> for AudioLevelObserverOptionsBuilder<(T0, T1, T2)>
impl WriteAsOptional<Offset<AudioLevelObserverOptions>> for AudioLevelObserverOptions
Auto Trait Implementations§
impl Freeze for AudioLevelObserverOptions
impl RefUnwindSafe for AudioLevelObserverOptions
impl Send for AudioLevelObserverOptions
impl Sync for AudioLevelObserverOptions
impl Unpin for AudioLevelObserverOptions
impl UnwindSafe for AudioLevelObserverOptions
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