pub struct ExprEllipsisLiteral {
pub node_index: AtomicNodeIndex,
pub range: TextRange,
}Fields§
§node_index: AtomicNodeIndex§range: TextRangeTrait Implementations§
Source§impl Clone for ExprEllipsisLiteral
impl Clone for ExprEllipsisLiteral
Source§fn clone(&self) -> ExprEllipsisLiteral
fn clone(&self) -> ExprEllipsisLiteral
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 ExprEllipsisLiteral
impl Debug for ExprEllipsisLiteral
Source§impl Default for ExprEllipsisLiteral
impl Default for ExprEllipsisLiteral
Source§fn default() -> ExprEllipsisLiteral
fn default() -> ExprEllipsisLiteral
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a ExprEllipsisLiteral> for AnyNodeRef<'a>
impl<'a> From<&'a ExprEllipsisLiteral> for AnyNodeRef<'a>
Source§fn from(node: &'a ExprEllipsisLiteral) -> AnyNodeRef<'a>
fn from(node: &'a ExprEllipsisLiteral) -> AnyNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExprEllipsisLiteral> for ExprRef<'a>
impl<'a> From<&'a ExprEllipsisLiteral> for ExprRef<'a>
Source§fn from(node: &'a ExprEllipsisLiteral) -> Self
fn from(node: &'a ExprEllipsisLiteral) -> Self
Converts to this type from the input type.
Source§impl From<ExprEllipsisLiteral> for Expr
impl From<ExprEllipsisLiteral> for Expr
Source§fn from(node: ExprEllipsisLiteral) -> Self
fn from(node: ExprEllipsisLiteral) -> Self
Converts to this type from the input type.
Source§impl HasNodeIndex for ExprEllipsisLiteral
impl HasNodeIndex for ExprEllipsisLiteral
Source§fn node_index(&self) -> &AtomicNodeIndex
fn node_index(&self) -> &AtomicNodeIndex
Returns the
AtomicNodeIndex for this node.Source§impl PartialEq for ExprEllipsisLiteral
impl PartialEq for ExprEllipsisLiteral
Source§impl Ranged for ExprEllipsisLiteral
impl Ranged for ExprEllipsisLiteral
Source§impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExprEllipsisLiteral
impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExprEllipsisLiteral
impl StructuralPartialEq for ExprEllipsisLiteral
Auto Trait Implementations§
impl !Freeze for ExprEllipsisLiteral
impl RefUnwindSafe for ExprEllipsisLiteral
impl Send for ExprEllipsisLiteral
impl Sync for ExprEllipsisLiteral
impl Unpin for ExprEllipsisLiteral
impl UnsafeUnpin for ExprEllipsisLiteral
impl UnwindSafe for ExprEllipsisLiteral
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more