pub enum RestrictionKind {
Maybe,
Obligatory,
Forbidden,
}Expand description
Тип ограничения на использование граммемы.
Variants§
Trait Implementations§
Source§impl Clone for RestrictionKind
impl Clone for RestrictionKind
Source§fn clone(&self) -> RestrictionKind
fn clone(&self) -> RestrictionKind
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 RestrictionKind
impl Debug for RestrictionKind
impl Copy for RestrictionKind
Auto Trait Implementations§
impl Freeze for RestrictionKind
impl RefUnwindSafe for RestrictionKind
impl Send for RestrictionKind
impl Sync for RestrictionKind
impl Unpin for RestrictionKind
impl UnwindSafe for RestrictionKind
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