Struct shiratsu_naming::naming::nointro::NoIntroName
source · [−]#[repr(transparent)]pub struct NoIntroName<'a>(_);
Expand description
A No-Intro format file name.
The order of tokens in a
NoIntroName
is significant in order of appearance in
the input file name.
Trait Implementations
sourceimpl<'a> Clone for NoIntroName<'a>
impl<'a> Clone for NoIntroName<'a>
sourcefn clone(&self) -> NoIntroName<'a>
fn clone(&self) -> NoIntroName<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for NoIntroName<'a>
impl<'a> Debug for NoIntroName<'a>
sourceimpl Display for NoIntroName<'_>
impl Display for NoIntroName<'_>
sourceimpl<'a> From<Vec<NoIntroToken<'a>, Global>> for NoIntroName<'a>
impl<'a> From<Vec<NoIntroToken<'a>, Global>> for NoIntroName<'a>
sourcefn from(vec: Vec<NoIntroToken<'a>>) -> Self
fn from(vec: Vec<NoIntroToken<'a>>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<NoIntroName<'a>> for NoIntroName<'a>
impl<'a> PartialEq<NoIntroName<'a>> for NoIntroName<'a>
sourcefn eq(&self, other: &NoIntroName<'a>) -> bool
fn eq(&self, other: &NoIntroName<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NoIntroName<'a>) -> bool
fn ne(&self, other: &NoIntroName<'a>) -> bool
This method tests for !=
.
sourceimpl<'a> TokenizedName<'a, NoIntroToken<'a>> for NoIntroName<'a>
impl<'a> TokenizedName<'a, NoIntroToken<'a>> for NoIntroName<'a>
sourcefn iter(&self) -> Iter<'_, NoIntroToken<'a>>
fn iter(&self) -> Iter<'_, NoIntroToken<'a>>
Returns an iterator over the tokens of this name.
sourcefn try_parse<S: AsRef<str> + ?Sized>(
input: &'a S
) -> Result<NoIntroName<'a>, NameError>
fn try_parse<S: AsRef<str> + ?Sized>(
input: &'a S
) -> Result<NoIntroName<'a>, NameError>
Tries to parse the input string using the naming convention of this tokenized name. Read more
sourcefn naming_convention() -> NamingConvention
fn naming_convention() -> NamingConvention
The naming convention of this tokenized name.
impl<'a> Eq for NoIntroName<'a>
impl<'a> StructuralEq for NoIntroName<'a>
impl<'a> StructuralPartialEq for NoIntroName<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for NoIntroName<'a>
impl<'a> Send for NoIntroName<'a>
impl<'a> Sync for NoIntroName<'a>
impl<'a> Unpin for NoIntroName<'a>
impl<'a> UnwindSafe for NoIntroName<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.