Struct dpdk_unix::memory_information::VirtualAddress[][src]

pub struct VirtualAddress(_);

A virtual address.

This is the same as the value returned from malloc(), a *mut T pointer, a &T reference, etc.

No checks are made for its validity.

Methods

impl VirtualAddress
[src]

Relative offset from the start of the system page containing this virtual address.

May be zero, but will always be less than the system page size.

The address of the page which contains this physical address. May be the same value.

This function will translate virtual addresses to physical addresses.

Before using this function, the memory reference by a virtual address should have been mlock()'d.

Trait Implementations

impl Default for VirtualAddress
[src]

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

impl Debug for VirtualAddress
[src]

Formats the value using the given formatter. Read more

impl Copy for VirtualAddress
[src]

impl Clone for VirtualAddress
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Ord for VirtualAddress
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for VirtualAddress
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for VirtualAddress
[src]

impl PartialEq for VirtualAddress
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for VirtualAddress
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

Performs the conversion.

impl<T> From<Option<NonNull<T>>> for VirtualAddress
[src]

Performs the conversion.

impl<T> Into<Option<NonNull<T>>> for VirtualAddress
[src]

Performs the conversion.

impl<'a, T: 'a> From<&'a T> for VirtualAddress
[src]

Performs the conversion.

impl<'a, T: 'a> From<&'a mut T> for VirtualAddress
[src]

Performs the conversion.

impl<T> From<*const T> for VirtualAddress
[src]

Performs the conversion.

impl<T> Into<*const T> for VirtualAddress
[src]

Performs the conversion.

impl<T> From<*mut T> for VirtualAddress
[src]

Performs the conversion.

impl<T> Into<*mut T> for VirtualAddress
[src]

Performs the conversion.

impl From<usize> for VirtualAddress
[src]

Performs the conversion.

impl Into<usize> for VirtualAddress
[src]

Performs the conversion.

impl Add<usize> for VirtualAddress
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<usize> for VirtualAddress
[src]

Performs the += operation.

impl Sub<usize> for VirtualAddress
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<usize> for VirtualAddress
[src]

Performs the -= operation.

impl From<VirtualAddress> for VirtualPageFrameNumber
[src]

Performs the conversion.

Auto Trait Implementations