pub struct Delegate { /* private fields */ }Implementations§
Source§impl Delegate
impl Delegate
pub fn new(controller: impl AsRef<XIDDocument>) -> Self
pub fn controller(&self) -> &Shared<XIDDocument>
Trait Implementations§
Source§impl EnvelopeEncodable for Delegate
impl EnvelopeEncodable for Delegate
Source§impl HasPermissions for Delegate
impl HasPermissions for Delegate
fn permissions(&self) -> &Permissions
fn permissions_mut(&mut self) -> &mut Permissions
fn allow(&self) -> &HashSet<Privilege>
fn deny(&self) -> &HashSet<Privilege>
fn allow_mut(&mut self) -> &mut HashSet<Privilege>
fn deny_mut(&mut self) -> &mut HashSet<Privilege>
fn add_allow(&mut self, privilege: Privilege)
fn add_deny(&mut self, privilege: Privilege)
fn remove_allow(&mut self, privilege: &Privilege)
fn remove_deny(&mut self, privilege: &Privilege)
fn clear_all_permissions(&mut self)
Source§impl ReferenceProvider for Delegate
impl ReferenceProvider for Delegate
Source§fn reference(&self) -> Reference
fn reference(&self) -> Reference
Returns a cryptographic reference that uniquely identifies this object. Read more
Source§fn ref_hex_short(&self) -> String
fn ref_hex_short(&self) -> String
Returns the first four bytes of the reference as a hexadecimal string. Read more
impl Eq for Delegate
impl StructuralPartialEq for Delegate
Auto Trait Implementations§
impl Freeze for Delegate
impl RefUnwindSafe for Delegate
impl Send for Delegate
impl Sync for Delegate
impl Unpin for Delegate
impl UnwindSafe for Delegate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more