pub enum ResourceAccessPoint {
Owner(Owner),
MutRef(MutRef),
StaticRef(StaticRef),
Function(Function),
Struct(Struct),
}
Variants§
Implementations§
Source§impl ResourceAccessPoint
impl ResourceAccessPoint
pub fn hash(&self) -> &u64
pub fn name(&self) -> &String
pub fn is_mut(&self) -> bool
pub fn is_ref(&self) -> bool
pub fn is_mutref(&self) -> bool
pub fn is_struct_group(&self) -> bool
pub fn is_struct(&self) -> bool
pub fn is_member(&self) -> bool
pub fn get_owner(&self) -> u64
Trait Implementations§
Source§impl Clone for ResourceAccessPoint
impl Clone for ResourceAccessPoint
Source§fn clone(&self) -> ResourceAccessPoint
fn clone(&self) -> ResourceAccessPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResourceAccessPoint
impl Debug for ResourceAccessPoint
Source§impl Hash for ResourceAccessPoint
impl Hash for ResourceAccessPoint
Source§impl PartialEq for ResourceAccessPoint
impl PartialEq for ResourceAccessPoint
impl Eq for ResourceAccessPoint
impl StructuralPartialEq for ResourceAccessPoint
Auto Trait Implementations§
impl Freeze for ResourceAccessPoint
impl RefUnwindSafe for ResourceAccessPoint
impl Send for ResourceAccessPoint
impl Sync for ResourceAccessPoint
impl Unpin for ResourceAccessPoint
impl UnwindSafe for ResourceAccessPoint
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