#[non_exhaustive]pub struct RObject { /* private fields */ }Implementations§
Source§impl RObject
impl RObject
pub fn from_parts(value: RValue, attributes: Attributes) -> Self
pub fn value(&self) -> &RValue
pub fn attributes(&self) -> &Attributes
pub fn into_parts(self) -> (RValue, Attributes)
pub fn class(&self) -> Option<&[RStr]>
pub fn names(&self) -> Option<&[RStr]>
pub fn get_named(&self, name: &str) -> Option<&RObject>
Trait Implementations§
impl StructuralPartialEq for RObject
Source§impl TryFrom<&RObject> for PackagesMatrix
impl TryFrom<&RObject> for PackagesMatrix
Auto Trait Implementations§
impl Freeze for RObject
impl RefUnwindSafe for RObject
impl Send for RObject
impl Sync for RObject
impl Unpin for RObject
impl UnsafeUnpin for RObject
impl UnwindSafe for RObject
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