Skip to main content

LinearPatternObject

Trait LinearPatternObject 

Source
pub trait LinearPatternObject: Object + Clone {
    // Provided methods
    fn repeat<const N: usize>(
        self,
        offset: impl Number,
        direction: DVec3,
    ) -> Pattern<Self, N>
       where Self: Sized { ... }
    fn repeated(
        self,
        offset: impl Number,
        direction: DVec3,
        times: usize,
    ) -> PatternRuntime<Self>
       where Self: Sized { ... }
}

Provided Methods§

Source

fn repeat<const N: usize>( self, offset: impl Number, direction: DVec3, ) -> Pattern<Self, N>
where Self: Sized,

Source

fn repeated( self, offset: impl Number, direction: DVec3, times: usize, ) -> PatternRuntime<Self>
where Self: Sized,

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<T> LinearPatternObject for T
where T: Object + Clone,