Trait abi_stable::sabi_trait::doc_examples::Action_trait::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, here

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