Skip to main content

ClampTable

Trait ClampTable 

Source
pub trait ClampTable: Sized + Debug {
    // Required method
    fn clamped(self, range: Self) -> Result<Self, PosOffTableError<Self>>;
}

Required Methods§

Source

fn clamped(self, range: Self) -> Result<Self, PosOffTableError<Self>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ClampTable for i32

Implementors§