Trait libafl::bolts::tuples::MatchType [−][src]
pub trait MatchType { fn match_type<T: 'static>(&self, f: fn(t: &T)); fn match_type_mut<T: 'static>(&mut self, f: fn(t: &mut T)); }
Expand description
Match by type
Required methods
fn match_type<T: 'static>(&self, f: fn(t: &T))
fn match_type<T: 'static>(&self, f: fn(t: &T))
Match by type and call the passed f
function with a borrow, if found
fn match_type_mut<T: 'static>(&mut self, f: fn(t: &mut T))
fn match_type_mut<T: 'static>(&mut self, f: fn(t: &mut T))
Match by type and call the passed f
function with a mutable borrow, if found