#[non_exhaustive]pub enum NameMatcher {
Exact(&'static str),
}Expand description
How a role’s bone is found by name. Matching also tries a
namespace-stripped variant of each bone name ("ns:Hips" → "Hips").
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for NameMatcher
impl Clone for NameMatcher
Source§fn clone(&self) -> NameMatcher
fn clone(&self) -> NameMatcher
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 NameMatcher
impl RefUnwindSafe for NameMatcher
impl Send for NameMatcher
impl Sync for NameMatcher
impl Unpin for NameMatcher
impl UnsafeUnpin for NameMatcher
impl UnwindSafe for NameMatcher
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