pub trait ConstExample: Clone + Debug {
// Required method
fn next_number(&self, num: usize) -> usize;
}
Expand description
An example trait, used to show what #[sabi_trait]
generates in the docs.
Required Methods§
sourcefn next_number(&self, num: usize) -> usize
fn next_number(&self, num: usize) -> usize
Object Safety§
This trait is not object safe.