pub trait BakeSize: Sized + Bake {
// Required method
fn borrows_size(&self) -> usize;
}
Expand description
Allows returning the size of data borrowed by a baked struct.
Required Methods§
sourcefn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Object Safety§
This trait is not object safe.