pub struct PermsInfo {
pub ctx: ObjID,
pub provide: Protections,
pub restrict: Protections,
}
Expand description
Information about protections for a given object within a context.
Fields§
§ctx: ObjID
§provide: Protections
§restrict: Protections
Implementations§
Source§impl PermsInfo
impl PermsInfo
pub fn new(ctx: ObjID, provide: Protections, restrict: Protections) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PermsInfo
impl ObjSafe for PermsInfo
impl RefUnwindSafe for PermsInfo
impl Send for PermsInfo
impl StoreCopy for PermsInfo
impl Sync for PermsInfo
impl Unpin for PermsInfo
impl UnwindSafe for PermsInfo
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