[][src]Struct embree::catmull_rom_curve::CatmullRomCurve

pub struct CatmullRomCurve<'a> {
    pub vertex_buffer: Buffer<'a, Vector4<f32>>,
    pub index_buffer: Buffer<'a, u32>,
    pub normal_buffer: Option<Buffer<'a, Vector3<f32>>>,
    // some fields omitted
}

Fields

vertex_buffer: Buffer<'a, Vector4<f32>>index_buffer: Buffer<'a, u32>normal_buffer: Option<Buffer<'a, Vector3<f32>>>

Implementations

impl<'a> CatmullRomCurve<'a>[src]

pub fn flat(
    device: &'a Device,
    num_segments: usize,
    num_verts: usize,
    use_normals: bool
) -> CatmullRomCurve<'a>
[src]

pub fn round(
    device: &'a Device,
    num_segments: usize,
    num_verts: usize,
    use_normals: bool
) -> CatmullRomCurve<'a>
[src]

pub fn normal_oriented(
    device: &'a Device,
    num_segments: usize,
    num_verts: usize
) -> CatmullRomCurve<'a>
[src]

Trait Implementations

impl<'a> Sync for CatmullRomCurve<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for CatmullRomCurve<'a>

impl<'a> !Send for CatmullRomCurve<'a>

impl<'a> Unpin for CatmullRomCurve<'a>

impl<'a> UnwindSafe for CatmullRomCurve<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.