pub enum BooleanLiteral {
True,
False,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BooleanLiteral
impl Clone for BooleanLiteral
Source§fn clone(&self) -> BooleanLiteral
fn clone(&self) -> BooleanLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BooleanLiteral
impl Debug for BooleanLiteral
Source§impl<'de> Deserialize<'de> for BooleanLiteral
impl<'de> Deserialize<'de> for BooleanLiteral
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 BooleanLiteral
impl<'a> FromTreeSitter<'a> for BooleanLiteral
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for BooleanLiteral
impl RefUnwindSafe for BooleanLiteral
impl Send for BooleanLiteral
impl Sync for BooleanLiteral
impl Unpin for BooleanLiteral
impl UnsafeUnpin for BooleanLiteral
impl UnwindSafe for BooleanLiteral
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