pub enum ActionUnit {
Show 30 variants
AU1,
AU2,
AU4,
AU5,
AU6,
AU7,
AU9,
AU10,
AU11,
AU12,
AU13,
AU14,
AU15,
AU16,
AU17,
AU18,
AU20,
AU22,
AU23,
AU24,
AU25,
AU26,
AU27,
AU28,
AU41,
AU42,
AU43,
AU44,
AU45,
AU46,
}Expand description
A FACS Action Unit representing an individual facial muscle activation.
Variants§
AU1
AU2
AU4
AU5
AU6
AU7
AU9
AU10
AU11
AU12
AU13
AU14
AU15
AU16
AU17
AU18
AU20
AU22
AU23
AU24
AU25
AU26
AU27
AU28
AU41
AU42
AU43
AU44
AU45
AU46
Implementations§
Source§impl ActionUnit
impl ActionUnit
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Longer description of the muscle action.
Sourcepub fn all() -> &'static [ActionUnit]
pub fn all() -> &'static [ActionUnit]
All 30 action unit variants in canonical order.
Sourcepub fn upper_face() -> &'static [ActionUnit]
pub fn upper_face() -> &'static [ActionUnit]
Upper face action units (brow, nose region).
Sourcepub fn lower_face() -> &'static [ActionUnit]
pub fn lower_face() -> &'static [ActionUnit]
Lower face action units (mouth region).
Sourcepub fn eye_units() -> &'static [ActionUnit]
pub fn eye_units() -> &'static [ActionUnit]
Eye-related action units.
Sourcepub fn from_number(n: u32) -> Option<ActionUnit>
pub fn from_number(n: u32) -> Option<ActionUnit>
Construct an ActionUnit from its canonical number, if it exists.
Trait Implementations§
Source§impl Clone for ActionUnit
impl Clone for ActionUnit
Source§fn clone(&self) -> ActionUnit
fn clone(&self) -> ActionUnit
Returns a duplicate 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 ActionUnit
impl Debug for ActionUnit
Source§impl Hash for ActionUnit
impl Hash for ActionUnit
Source§impl PartialEq for ActionUnit
impl PartialEq for ActionUnit
impl Eq for ActionUnit
impl StructuralPartialEq for ActionUnit
Auto Trait Implementations§
impl Freeze for ActionUnit
impl RefUnwindSafe for ActionUnit
impl Send for ActionUnit
impl Sync for ActionUnit
impl Unpin for ActionUnit
impl UnsafeUnpin for ActionUnit
impl UnwindSafe for ActionUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more