pub struct Gates { /* private fields */ }Implementations§
Source§impl Gates
impl Gates
pub fn features(self, flags: Flags) -> Self
Sourcepub fn route_features(self, gated: &'static [RouteFeature]) -> Self
pub fn route_features(self, gated: &'static [RouteFeature]) -> Self
Each is not found while its feature is off, as .feature(…) makes it.
Source§impl Gates
impl Gates
pub fn route_permissions(self, table: &'static [RoutePermission]) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Gates
impl !UnwindSafe for Gates
impl Freeze for Gates
impl Send for Gates
impl Sync for Gates
impl Unpin for Gates
impl UnsafeUnpin for Gates
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