TranslateUtilities

Trait TranslateUtilities 

Source
pub trait TranslateUtilities {
    // Required methods
    fn translate_x(self, translate: Translate) -> Self;
    fn translate_y(self, translate: Translate) -> Self;
}
Expand description

Trait for adding translate utilities to a class builder

Required Methods§

Source

fn translate_x(self, translate: Translate) -> Self

Source

fn translate_y(self, translate: Translate) -> Self

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§