pub struct ZipLists<'t> {
pub lists: Vec<Token<'t>>,
}
Fields§
§lists: Vec<Token<'t>>
Trait Implementations§
Source§impl<'t> CMakeParse<'t> for ZipLists<'t>
impl<'t> CMakeParse<'t> for ZipLists<'t>
fn matches_type(_: &[u8], keyword: &[u8], tokens: &[Token<'t>]) -> bool
fn need_push_keyword(_: &Token<'t>) -> bool
fn rest<'tv>(tokens: &'tv [Token<'t>]) -> &'tv [Token<'t>]
fn parse<'tv>( tokens: &'tv [Token<'t>], ) -> Result<(Self, &'tv [Token<'t>]), CommandParseError>
fn complete(tokens: &[Token<'t>]) -> Result<Self, CommandParseError>
fn default_value() -> Option<Self>
fn matches( &self, field_keyword: &[u8], keyword: &[u8], tokens: &[Token<'t>], ) -> bool
fn need_update( field_keyword: &[u8], keyword: &Token<'t>, buffer: &[Token<'t>], ) -> bool
fn start<'tv>( &mut self, field_keyword: &[u8], keyword: &Token<'t>, tokens: &'tv [Token<'t>], buffer: &mut Vec<Token<'t>>, ) -> Result<(bool, &'tv [Token<'t>]), CommandParseError>
fn update_mode(keyword: &Token<'t>) -> bool
fn update<'tv>( &mut self, tokens: &'tv [Token<'t>], ) -> Result<(), CommandParseError>
fn end<'tv>(self, tokens: &'tv [Token<'t>]) -> Result<Self, CommandParseError>
fn push_keyword( &mut self, buffer: &mut Vec<Token<'t>>, keyword: &Token<'t>, ) -> bool
fn reset_mode() -> bool
Source§impl<'t> Ord for ZipLists<'t>
impl<'t> Ord for ZipLists<'t>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'t> PartialOrd for ZipLists<'t>
impl<'t> PartialOrd for ZipLists<'t>
impl<'t> Eq for ZipLists<'t>
impl<'t> StructuralPartialEq for ZipLists<'t>
Auto Trait Implementations§
impl<'t> Freeze for ZipLists<'t>
impl<'t> RefUnwindSafe for ZipLists<'t>
impl<'t> Send for ZipLists<'t>
impl<'t> Sync for ZipLists<'t>
impl<'t> Unpin for ZipLists<'t>
impl<'t> UnwindSafe for ZipLists<'t>
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