[][src]Struct flips::FlipsMemory

pub struct FlipsMemory { /* fields omitted */ }

A slice of memory owned by flips.

You should never have to use this type directly, as each patch format implements a different output struct that derefs to this type.

Implementations

impl FlipsMemory[src]

pub fn as_bytes(&self) -> &[u8][src]

View the memory buffer as a raw slice of bytes.

pub fn to_bytes(&self) -> Vec<u8>[src]

This is supported on feature="std" only.

Copy the memory into a buffer managed by Rust.

Trait Implementations

impl AsRef<[u8]> for FlipsMemory[src]

impl Debug for FlipsMemory[src]

impl Deref for FlipsMemory[src]

type Target = [u8]

The resulting type after dereferencing.

impl Drop for FlipsMemory[src]

impl From<FlipsMemory> for IpsOutput[src]

impl From<FlipsMemory> for UpsOutput[src]

impl From<FlipsMemory> for BpsOutput[src]

impl Into<Vec<u8>> for FlipsMemory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.