Struct rustpython_ast::EmptyRange
source · pub struct EmptyRange<R> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<R: Clone> Clone for EmptyRange<R>
impl<R: Clone> Clone for EmptyRange<R>
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§impl<R> Display for EmptyRange<R>
impl<R> Display for EmptyRange<R>
source§impl<R: Hash> Hash for EmptyRange<R>
impl<R: Hash> Hash for EmptyRange<R>
source§impl<R: PartialEq> PartialEq for EmptyRange<R>
impl<R: PartialEq> PartialEq for EmptyRange<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> Copy for EmptyRange<R>
impl<R: Eq> Eq for EmptyRange<R>
impl<R> StructuralPartialEq for EmptyRange<R>
Auto Trait Implementations§
impl<R> Freeze for EmptyRange<R>
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