pub enum ScopePrelude<'s> {
StartOnly(ScopeStart<'s>),
EndOnly(ScopeEnd<'s>),
Both(ScopeStartWithEnd<'s>),
}Variants§
Trait Implementations§
Source§impl<'s> Clone for ScopePrelude<'s>
impl<'s> Clone for ScopePrelude<'s>
Source§fn clone(&self) -> ScopePrelude<'s>
fn clone(&self) -> ScopePrelude<'s>
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<'s> Debug for ScopePrelude<'s>
impl<'s> Debug for ScopePrelude<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for ScopePrelude<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for ScopePrelude<'s>
Source§impl<'s> PartialEq for ScopePrelude<'s>
impl<'s> PartialEq for ScopePrelude<'s>
Source§fn eq(&self, other: &ScopePrelude<'s>) -> bool
fn eq(&self, other: &ScopePrelude<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for ScopePrelude<'s>
Auto Trait Implementations§
impl<'s> Freeze for ScopePrelude<'s>
impl<'s> RefUnwindSafe for ScopePrelude<'s>
impl<'s> Send for ScopePrelude<'s>
impl<'s> Sync for ScopePrelude<'s>
impl<'s> Unpin for ScopePrelude<'s>
impl<'s> UnsafeUnpin for ScopePrelude<'s>
impl<'s> UnwindSafe for ScopePrelude<'s>
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