Trait abi_stable::sabi_trait::doc_examples::Action_trait::Action
source · pub trait Action: Debug {
// Required methods
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