pub struct PositiveIntConst(pub ConstExpr);Tuple Fields§
§0: ConstExprTrait Implementations§
Source§impl Clone for PositiveIntConst
impl Clone for PositiveIntConst
Source§fn clone(&self) -> PositiveIntConst
fn clone(&self) -> PositiveIntConst
Returns a duplicate of the value. Read more
1.0.0 · 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 PositiveIntConst
impl Debug for PositiveIntConst
Source§impl<'de> Deserialize<'de> for PositiveIntConst
impl<'de> Deserialize<'de> for PositiveIntConst
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<PositiveIntConst> for PositiveIntConst
impl From<PositiveIntConst> for PositiveIntConst
Source§fn from(value: PositiveIntConst) -> Self
fn from(value: PositiveIntConst) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for PositiveIntConst
impl<'a> FromTreeSitter<'a> for PositiveIntConst
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for PositiveIntConst
impl RefUnwindSafe for PositiveIntConst
impl Send for PositiveIntConst
impl Sync for PositiveIntConst
impl Unpin for PositiveIntConst
impl UnsafeUnpin for PositiveIntConst
impl UnwindSafe for PositiveIntConst
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