pub struct RigProfile {
pub name: &'static str,
pub bindings: Vec<(Role, NameMatcher)>,
}Expand description
A named set of role-to-bone-name matchers.
Fields§
§name: &'static strProfile name used in configuration and diagnostics.
bindings: Vec<(Role, NameMatcher)>Role matchers tried against a skeleton.
Implementations§
Source§impl RigProfile
impl RigProfile
Sourcepub fn resolve(&self, skeleton: &Skeleton) -> ResolvedRoles
pub fn resolve(&self, skeleton: &Skeleton) -> ResolvedRoles
Resolve this profile against skeleton by matching bone names.
Trait Implementations§
Source§impl Clone for RigProfile
impl Clone for RigProfile
Source§fn clone(&self) -> RigProfile
fn clone(&self) -> RigProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RigProfile
impl RefUnwindSafe for RigProfile
impl Send for RigProfile
impl Sync for RigProfile
impl Unpin for RigProfile
impl UnsafeUnpin for RigProfile
impl UnwindSafe for RigProfile
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