EntityBuilder

Trait EntityBuilder 

Source
pub trait EntityBuilder<'a> {
    type Entity;

    // Required methods
    fn name(self, name: String) -> Self;
    fn base(self, base: impl Into<Isometry3<f64>>) -> Self;
    fn base_fixed(self, base_fixed: bool) -> Self;
    fn scaling(self, scaling: f64) -> Self;
    fn load(self) -> Result<Self::Entity>;
}

Required Associated Types§

Required Methods§

Source

fn name(self, name: String) -> Self

Source

fn base(self, base: impl Into<Isometry3<f64>>) -> Self

Source

fn base_fixed(self, base_fixed: bool) -> Self

Source

fn scaling(self, scaling: f64) -> Self

Source

fn load(self) -> Result<Self::Entity>

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§