Center

Trait Center 

Source
pub trait Center<T = Self> {
    // Required method
    fn center(&self) -> T;
}
Expand description

Trait to align something to center.

Required Methods§

Source

fn center(&self) -> T

Align geometry.

Implementors§