pub enum ScopeForwardingFlag {
Positionals,
Keywords,
Block,
All,
}Expand description
A forwarding parameter for a scope.
Variants§
Positionals
Forwarding with the * parameter.
Keywords
Forwarding with the ** parameter.
Block
Forwarding with the & parameter.
All
Forwarding with the ... parameter.
Trait Implementations§
Source§impl Clone for ScopeForwardingFlag
impl Clone for ScopeForwardingFlag
Source§fn clone(&self) -> ScopeForwardingFlag
fn clone(&self) -> ScopeForwardingFlag
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 ScopeForwardingFlag
impl Debug for ScopeForwardingFlag
Source§impl From<ScopeForwardingFlag> for u8
impl From<ScopeForwardingFlag> for u8
Source§fn from(flag: ScopeForwardingFlag) -> Self
fn from(flag: ScopeForwardingFlag) -> Self
Converts to this type from the input type.
Source§impl Hash for ScopeForwardingFlag
impl Hash for ScopeForwardingFlag
Source§impl PartialEq for ScopeForwardingFlag
impl PartialEq for ScopeForwardingFlag
impl Copy for ScopeForwardingFlag
impl Eq for ScopeForwardingFlag
impl StructuralPartialEq for ScopeForwardingFlag
Auto Trait Implementations§
impl Freeze for ScopeForwardingFlag
impl RefUnwindSafe for ScopeForwardingFlag
impl Send for ScopeForwardingFlag
impl Sync for ScopeForwardingFlag
impl Unpin for ScopeForwardingFlag
impl UnwindSafe for ScopeForwardingFlag
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