Trait abi_stable::sabi_trait::doc_examples::Action[][src]

pub trait Action: Debug {
    fn get(&self) -> usize;
fn add_mut(&mut self, val: usize) -> usize;
fn add_into(self, val: usize) -> usize
    where
        Self: Sized
; }
Expand description

The trait used in examples of #[sabi_trait] trait object methods, in abi_stable::docs::sabi_trait_inherent

Required methods

Gets the current value of self.

Adds val into self, returning the new value.

Adds val into self, returning the new value.

Implementations on Foreign Types

Implementors