Trait libafl_bolts::tuples::ExtractFirstRefType
source · pub trait ExtractFirstRefType {
// Required method
fn take<'a, T: 'static>(self) -> (Option<&'a T>, Self);
}
Expand description
Returns the first element with the given type (dereference mut version)
Required Methods§
sourcefn take<'a, T: 'static>(self) -> (Option<&'a T>, Self)
fn take<'a, T: 'static>(self) -> (Option<&'a T>, Self)
Returns the first element with the given type as borrow, or Option::None
Object Safety§
This trait is not object safe.