Trait ModifyAddressValue

Source
pub trait ModifyAddressValue {
    type Word;

    // Required method
    fn modify_address_value<F>(self, f: F)
       where F: FnOnce(&Self::Word) -> Self::Word;
}

Required Associated Types§

Required Methods§

Source

fn modify_address_value<F>(self, f: F)
where F: FnOnce(&Self::Word) -> Self::Word,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ModifyAddressValue for *mut u8

Source§

type Word = u8

Source§

fn modify_address_value<F>(self, f: F)
where F: FnOnce(&Self::Word) -> Self::Word,

Source§

impl ModifyAddressValue for *mut u16

Source§

type Word = u16

Source§

fn modify_address_value<F>(self, f: F)
where F: FnOnce(&Self::Word) -> Self::Word,

Source§

impl ModifyAddressValue for *mut u32

Source§

type Word = u32

Source§

fn modify_address_value<F>(self, f: F)
where F: FnOnce(&Self::Word) -> Self::Word,

Source§

impl ModifyAddressValue for *mut u64

Source§

type Word = u64

Source§

fn modify_address_value<F>(self, f: F)
where F: FnOnce(&Self::Word) -> Self::Word,

Implementors§