Struct autd3_core::autd3_device::AUTD3
source · pub struct AUTD3 { /* private fields */ }Implementations§
source§impl AUTD3
impl AUTD3
sourcepub fn with_quaternion<Q>(position: Vector3, rotation: Q) -> Selfwhere
UnitQuaternion: From<Q>,
pub fn with_quaternion<Q>(position: Vector3, rotation: Q) -> Selfwhere UnitQuaternion: From<Q>,
pub fn is_missing_transducer<T1, T2>(x: T1, y: T2) -> boolwhere T1: FromPrimitive + PartialEq<T1>, T2: FromPrimitive + PartialEq<T2>,
pub fn grid_id(idx: usize) -> (usize, usize)
Trait Implementations§
source§impl Device for AUTD3
impl Device for AUTD3
fn get_transducers( &self, start_id: usize ) -> Vec<(usize, Vector3, UnitQuaternion)>
impl Copy for AUTD3
Auto Trait Implementations§
impl RefUnwindSafe for AUTD3
impl Send for AUTD3
impl Sync for AUTD3
impl Unpin for AUTD3
impl UnwindSafe for AUTD3
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
§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.