pub struct Grammar {
pub attribute: &'static str,
}Expand description
The helper attribute one descriptor grammar is written in.
The name is the caller’s: a door registers the attribute it wants and hands the same value to the reading, so a refusal names the word an author actually wrote.
Fields§
§attribute: &'static strThe attribute’s spelling, without its brackets.
Implementations§
Trait Implementations§
impl Copy for Grammar
impl Eq for Grammar
impl StructuralPartialEq for Grammar
Auto Trait Implementations§
impl Freeze for Grammar
impl RefUnwindSafe for Grammar
impl Send for Grammar
impl Sync for Grammar
impl Unpin for Grammar
impl UnsafeUnpin for Grammar
impl UnwindSafe for Grammar
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