pub struct PreprocDirective(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for PreprocDirective
impl Debug for PreprocDirective
Source§impl<'de> Deserialize<'de> for PreprocDirective
impl<'de> Deserialize<'de> for PreprocDirective
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<'a> FromTreeSitter<'a> for PreprocDirective
impl<'a> FromTreeSitter<'a> for PreprocDirective
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for PreprocDirective
impl RefUnwindSafe for PreprocDirective
impl Send for PreprocDirective
impl Sync for PreprocDirective
impl Unpin for PreprocDirective
impl UnsafeUnpin for PreprocDirective
impl UnwindSafe for PreprocDirective
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