Enum libafl::bolts::ownedref::OwnedArrayPtrMut [−][src]
Wrap a C-style mutable pointer to an array (with size) and convert to a Vec on serialize
Variants
A ptr to the array (or slice).
Owned(Vec<T>)
An owned Vec
.
Implementations
impl<T: Sized> OwnedArrayPtrMut<T>
[src]
impl<T: Sized> OwnedArrayPtrMut<T>
[src]Trait Implementations
impl<T: Clone + Sized> Clone for OwnedArrayPtrMut<T>
[src]
impl<T: Clone + Sized> Clone for OwnedArrayPtrMut<T>
[src]fn clone(&self) -> OwnedArrayPtrMut<T>
[src]
fn clone(&self) -> OwnedArrayPtrMut<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug + Sized> Debug for OwnedArrayPtrMut<T>
[src]
impl<T: Debug + Sized> Debug for OwnedArrayPtrMut<T>
[src]impl<'de, T: Sized + Serialize> Deserialize<'de> for OwnedArrayPtrMut<T> where
Vec<T>: Deserialize<'de>,
[src]
impl<'de, T: Sized + Serialize> Deserialize<'de> for OwnedArrayPtrMut<T> where
Vec<T>: Deserialize<'de>,
[src]fn deserialize<D>(de: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(de: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<T> IntoOwned for OwnedArrayPtrMut<T> where
T: Sized + Clone,
[src]
impl<T> IntoOwned for OwnedArrayPtrMut<T> where
T: Sized + Clone,
[src]#[must_use]fn into_owned(self) -> Self
[src]
#[must_use]fn into_owned(self) -> Self
[src]Transfer the current type into an owned type.
Auto Trait Implementations
impl<T> RefUnwindSafe for OwnedArrayPtrMut<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for OwnedArrayPtrMut<T>
impl<T> !Sync for OwnedArrayPtrMut<T>
impl<T> Unpin for OwnedArrayPtrMut<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for OwnedArrayPtrMut<T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,