pub struct NameRules {
pub max_chars: usize,
pub digits: bool,
}Expand description
What a name may hold.
Fields§
§max_chars: usizeThe most characters.
digits: boolWhether digits are allowed (and the grid has a row of them).
Trait Implementations§
impl Copy for NameRules
impl Eq for NameRules
impl StructuralPartialEq for NameRules
Auto Trait Implementations§
impl Freeze for NameRules
impl RefUnwindSafe for NameRules
impl Send for NameRules
impl Sync for NameRules
impl Unpin for NameRules
impl UnsafeUnpin for NameRules
impl UnwindSafe for NameRules
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