pub struct PosixGlossary;
Expand description
Glossary that recognizes declaration utilities defined by POSIX
This glossary recognizes the declaration utilities defined by POSIX and no
others. The is_declaration_utility
method returns Some(true)
for the
command names export
and readonly
, and None
for the command name
command
.
This is the minimal glossary that conforms to POSIX, and is the default glossary used by the parser.
Trait Implementations§
Source§impl Clone for PosixGlossary
impl Clone for PosixGlossary
Source§fn clone(&self) -> PosixGlossary
fn clone(&self) -> PosixGlossary
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 PosixGlossary
impl Debug for PosixGlossary
Source§impl Default for PosixGlossary
impl Default for PosixGlossary
Source§fn default() -> PosixGlossary
fn default() -> PosixGlossary
Returns the “default value” for a type. Read more
Source§impl Glossary for PosixGlossary
impl Glossary for PosixGlossary
Source§impl Hash for PosixGlossary
impl Hash for PosixGlossary
Source§impl PartialEq for PosixGlossary
impl PartialEq for PosixGlossary
impl Eq for PosixGlossary
impl StructuralPartialEq for PosixGlossary
Auto Trait Implementations§
impl Freeze for PosixGlossary
impl RefUnwindSafe for PosixGlossary
impl Send for PosixGlossary
impl Sync for PosixGlossary
impl Unpin for PosixGlossary
impl UnwindSafe for PosixGlossary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more