pub struct SpecClosureArg {
pub known_fn: Option<String>,
pub param_idx: usize,
}Expand description
A closure argument in a specialization key
Fields§
§known_fn: Option<String>The name of the known function being passed
param_idx: usizeParameter index
Trait Implementations§
Source§impl Clone for SpecClosureArg
impl Clone for SpecClosureArg
Source§fn clone(&self) -> SpecClosureArg
fn clone(&self) -> SpecClosureArg
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 SpecClosureArg
impl Debug for SpecClosureArg
Source§impl Hash for SpecClosureArg
impl Hash for SpecClosureArg
Source§impl PartialEq for SpecClosureArg
impl PartialEq for SpecClosureArg
impl Eq for SpecClosureArg
impl StructuralPartialEq for SpecClosureArg
Auto Trait Implementations§
impl Freeze for SpecClosureArg
impl RefUnwindSafe for SpecClosureArg
impl Send for SpecClosureArg
impl Sync for SpecClosureArg
impl Unpin for SpecClosureArg
impl UnsafeUnpin for SpecClosureArg
impl UnwindSafe for SpecClosureArg
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