pub struct RigInfo { /* private fields */ }Expand description
Rig profile and resolved semantic-role bindings for one input file.
Implementations§
Source§impl RigInfo
impl RigInfo
Sourcepub fn from_resolved(
doc: &Document,
roles: &ResolvedRoles,
) -> Result<Self, RigInfoError>
pub fn from_resolved( doc: &Document, roles: &ResolvedRoles, ) -> Result<Self, RigInfoError>
Project resolved roles into their stable role names and source bone names for the result contract.
§Errors
Returns RigInfoError when roles references a bone outside the
supplied document, such as a resolution produced from another
skeleton.
Trait Implementations§
impl Eq for RigInfo
impl StructuralPartialEq for RigInfo
Auto Trait Implementations§
impl Freeze for RigInfo
impl RefUnwindSafe for RigInfo
impl Send for RigInfo
impl Sync for RigInfo
impl Unpin for RigInfo
impl UnsafeUnpin for RigInfo
impl UnwindSafe for RigInfo
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