Struct flatdata::MemoryDescriptor[][src]

pub struct MemoryDescriptor { /* fields omitted */ }

Describes a chunk of memory

Methods

impl MemoryDescriptor
[src]

Describes a contiguous constant chunk of memory.

Creates a new memory descriptor from a pointer and its size in bytes.

Returns pointer to the first byte of the chunk.

Returns size of chunk in bytes.

Trait Implementations

impl Debug for MemoryDescriptor
[src]

Formats the value using the given formatter. Read more

impl Clone for MemoryDescriptor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for MemoryDescriptor
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations