Trait libafl_bolts::IntoOwned

source ·
pub trait IntoOwned {
    // Required methods
    fn is_owned(&self) -> bool;
    fn into_owned(self) -> Self;
}
Expand description

Trait to convert into an Owned type

Required Methods§

source

fn is_owned(&self) -> bool

Returns if the current type is an owned type.

source

fn into_owned(self) -> Self

Transfer the current type into an owned type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T> IntoOwned for OwnedRef<'a, T>
where T: Sized + Clone,

source§

impl<'a, T> IntoOwned for OwnedRefMut<'a, T>
where T: Sized + Clone,

source§

impl<'a, T> IntoOwned for OwnedMutSlice<'a, T>
where T: Sized + Clone,

source§

impl<'a, T> IntoOwned for OwnedSlice<'a, T>
where T: Sized + Clone,

source§

impl<T> IntoOwned for OwnedMutPtr<T>
where T: Sized + Clone,

source§

impl<T> IntoOwned for OwnedPtr<T>
where T: Sized + Clone,