Skip to main content

SetRectangle

Trait SetRectangle 

Source
pub trait SetRectangle<T, const N: usize>:
    GetRectangle<T, N>
    + SetPosition<T, N>
    + SetSize<T, N>
where T: Number,
{ }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, T, const N: usize> SetRectangle<T, N> for S
where S: GetRectangle<T, N> + GetSize<T, N> + SetPosition<T, N> + SetSize<T, N>, T: Number,