Struct autd3_core::stm::GainSTM
source · pub struct GainSTM<T: Transducer> { /* private fields */ }Implementations
Trait Implementations
sourceimpl DatagramBody<LegacyTransducer> for GainSTM<LegacyTransducer>
impl DatagramBody<LegacyTransducer> for GainSTM<LegacyTransducer>
fn init(&mut self) -> Result<()>
fn pack(
&mut self,
_geometry: &Geometry<LegacyTransducer>,
tx: &mut TxDatagram
) -> Result<()>
fn is_finished(&self) -> bool
sourceimpl DatagramBody<NormalPhaseTransducer> for GainSTM<NormalPhaseTransducer>
impl DatagramBody<NormalPhaseTransducer> for GainSTM<NormalPhaseTransducer>
fn init(&mut self) -> Result<()>
fn pack(
&mut self,
_geometry: &Geometry<NormalPhaseTransducer>,
tx: &mut TxDatagram
) -> Result<()>
fn is_finished(&self) -> bool
sourceimpl DatagramBody<NormalTransducer> for GainSTM<NormalTransducer>
impl DatagramBody<NormalTransducer> for GainSTM<NormalTransducer>
fn init(&mut self) -> Result<()>
fn pack(
&mut self,
_geometry: &Geometry<NormalTransducer>,
tx: &mut TxDatagram
) -> Result<()>
fn is_finished(&self) -> bool
sourceimpl<T: Transducer> Default for GainSTM<T>
impl<T: Transducer> Default for GainSTM<T>
sourceimpl<T: Transducer> STM for GainSTM<T>
impl<T: Transducer> STM for GainSTM<T>
sourceimpl Sendable<LegacyTransducer> for GainSTM<LegacyTransducer>
impl Sendable<LegacyTransducer> for GainSTM<LegacyTransducer>
sourceimpl Sendable<NormalTransducer> for GainSTM<NormalTransducer>
impl Sendable<NormalTransducer> for GainSTM<NormalTransducer>
Auto Trait Implementations
impl<T> RefUnwindSafe for GainSTM<T>where
T: RefUnwindSafe,
impl<T> Send for GainSTM<T>where
T: Send,
impl<T> Sync for GainSTM<T>where
T: Sync,
impl<T> Unpin for GainSTM<T>where
T: Unpin,
impl<T> UnwindSafe for GainSTM<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.