Struct autd3_core::stm::FocusSTM
source · pub struct FocusSTM {
pub sound_speed: f64,
/* private fields */
}Fields§
§sound_speed: f64Implementations§
Trait Implementations§
source§impl<T: Transducer> DatagramBody<T> for FocusSTM
impl<T: Transducer> DatagramBody<T> for FocusSTM
Auto Trait Implementations§
impl RefUnwindSafe for FocusSTM
impl Send for FocusSTM
impl Sync for FocusSTM
impl Unpin for FocusSTM
impl UnwindSafe for FocusSTM
Blanket Implementations§
§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 more§fn 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.