pub struct Object<'a> { /* private fields */ }
Expand description
An object defined in an OBJ.
Implementations
sourceimpl<'a> Object<'a>
impl<'a> Object<'a>
sourcepub fn group(&self, name: &str) -> Option<Group<'a>>
pub fn group(&self, name: &str) -> Option<Group<'a>>
Returns a specific Group
by name.
Note that if a name is not specified in the OBJ file, the name defaults to an empty string.
Trait Implementations
impl<'a> Copy for Object<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Object<'a>
impl<'a> Send for Object<'a>
impl<'a> Sync for Object<'a>
impl<'a> Unpin for Object<'a>
impl<'a> UnwindSafe for Object<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more