Struct rustpython_vm::compiler::parser::ast::EmptyRange
source · pub struct EmptyRange<R> { /* private fields */ }
Implementations§
source§impl<R> EmptyRange<R>
impl<R> EmptyRange<R>
pub fn new(_start: TextSize, _end: TextSize) -> EmptyRange<R>
Trait Implementations§
source§impl<R> Clone for EmptyRange<R>where
R: Clone,
impl<R> Clone for EmptyRange<R>where R: Clone,
source§fn clone(&self) -> EmptyRange<R>
fn clone(&self) -> EmptyRange<R>
Returns a copy 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<R> Debug for EmptyRange<R>
impl<R> Debug for EmptyRange<R>
source§impl<R> Default for EmptyRange<R>
impl<R> Default for EmptyRange<R>
source§fn default() -> EmptyRange<R>
fn default() -> EmptyRange<R>
Returns the “default value” for a type. Read more
source§impl<R> Display for EmptyRange<R>
impl<R> Display for EmptyRange<R>
source§impl<R> From<R> for EmptyRange<R>
impl<R> From<R> for EmptyRange<R>
source§fn from(_: R) -> EmptyRange<R>
fn from(_: R) -> EmptyRange<R>
Converts to this type from the input type.
source§impl<R> Hash for EmptyRange<R>where
R: Hash,
impl<R> Hash for EmptyRange<R>where R: Hash,
source§impl<R> PartialEq<EmptyRange<R>> for EmptyRange<R>where
R: PartialEq<R>,
impl<R> PartialEq<EmptyRange<R>> for EmptyRange<R>where R: PartialEq<R>,
source§fn eq(&self, other: &EmptyRange<R>) -> bool
fn eq(&self, other: &EmptyRange<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<R> Copy for EmptyRange<R>where R: Copy,
impl<R> Eq for EmptyRange<R>where R: Eq,
impl<R> StructuralEq for EmptyRange<R>
impl<R> StructuralPartialEq for EmptyRange<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for EmptyRange<R>where R: RefUnwindSafe,
impl<R> Send for EmptyRange<R>where R: Send,
impl<R> Sync for EmptyRange<R>where R: Sync,
impl<R> Unpin for EmptyRange<R>where R: Unpin,
impl<R> UnwindSafe for EmptyRange<R>where R: UnwindSafe,
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.