pub struct PreprocCall {
pub directive: PreprocDirective,
pub argument: Option<PreprocArg>,
}Fields§
§directive: PreprocDirective§argument: Option<PreprocArg>Trait Implementations§
Source§impl Debug for PreprocCall
impl Debug for PreprocCall
Source§impl<'de> Deserialize<'de> for PreprocCall
impl<'de> Deserialize<'de> for PreprocCall
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
Source§impl From<&PreprocCall> for CustomPragma
impl From<&PreprocCall> for CustomPragma
Source§fn from(value: &PreprocCall) -> Self
fn from(value: &PreprocCall) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for PreprocCall
impl<'a> FromTreeSitter<'a> for PreprocCall
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for PreprocCall
impl RefUnwindSafe for PreprocCall
impl Send for PreprocCall
impl Sync for PreprocCall
impl Unpin for PreprocCall
impl UnsafeUnpin for PreprocCall
impl UnwindSafe for PreprocCall
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