Struct cmake_parser::Keyword
source · pub struct Keyword;
Trait Implementations§
source§impl<'t> CMakePositional<'t> for Keyword
impl<'t> CMakePositional<'t> for Keyword
fn positional<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], _: bool ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn positional_complete<'tv>( default_name: &'static [u8], tokens: &'tv [Token<'t>], has_keyword: bool ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
source§impl Ord for Keyword
impl Ord for Keyword
source§impl PartialEq for Keyword
impl PartialEq for Keyword
source§impl PartialOrd for Keyword
impl PartialOrd for Keyword
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
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