pub struct NoTokens;Expand description
The tokens of a game that fills in nothing but names. Play its scenes
with Named (or Plain if its text has no name tokens).
Trait Implementations§
impl Copy for NoTokens
impl Eq for NoTokens
impl StructuralPartialEq for NoTokens
Source§impl Tokens for NoTokens
impl Tokens for NoTokens
Source§fn longest(&self, _token: &str) -> Option<usize>
fn longest(&self, _token: &str) -> Option<usize>
The most cells
{token} can become, or None if it isn’t one of
the game’s tokens.Source§fn unknown(&self, token: &str) -> String
fn unknown(&self, token: &str) -> String
What a
{token} that is neither the game’s nor a name token is
told.Source§fn reserved_name(&self, _id: &str, _token: &str) -> Option<String>
fn reserved_name(&self, _id: &str, _token: &str) -> Option<String>
What the name token
{token} (naming id) is told before the
table is asked: a name the game fills in some other way. None
for most ids.Auto Trait Implementations§
impl Freeze for NoTokens
impl RefUnwindSafe for NoTokens
impl Send for NoTokens
impl Sync for NoTokens
impl Unpin for NoTokens
impl UnsafeUnpin for NoTokens
impl UnwindSafe for NoTokens
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