Trait libafl::bolts::tuples::MatchFirstType[][src]

pub trait MatchFirstType {
    fn match_first_type<T: 'static>(&self) -> Option<&T>;
fn match_first_type_mut<T: 'static>(&mut self) -> Option<&mut T>; }
Expand description

Returns the first element with the given type

Required methods

Returns the first element with the given type as borrow, or Option::None

Returns the first element with the given type as mutable borrow, or Option::None

Implementations on Foreign Types

Implementors