pub enum Parameter {
Undelimited,
Delimited(Matcher<Token>),
}
Variants§
Implementations§
source§impl Parameter
impl Parameter
pub fn parse_argument<S: TexlangState>( &self, macro_token: &Token, input: &mut ExpansionInput<S>, index: usize, result: &mut Vec<Token> ) -> Result<bool, Box<Error>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Parameter
impl<'de> Deserialize<'de> for Parameter
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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