[][src]Struct aubio_sys::cvec_t

#[repr(C)]
pub struct cvec_t {
    pub length: uint_t,
    pub norm: *mut smpl_t,
    pub phas: *mut smpl_t,
}

Vector of real-valued phase and spectrum data

\code

uint_t buffer_size = 1024;

cvec_t * input = new_cvec (buffer_size);

input->norm[23] = 2.; input->phas[23] = M_PI;

mean = cvec_mean(input);

del_cvec (input);

\endcode

Fields

length: uint_t

< length of buffer = (requested length)/2 + 1

norm: *mut smpl_t

< norm array of size ::cvec_t.length

phas: *mut smpl_t

< phase array of size ::cvec_t.length

Trait Implementations

impl Clone for cvec_t[src]

impl Copy for cvec_t[src]

impl Debug for cvec_t[src]

Auto Trait Implementations

impl RefUnwindSafe for cvec_t

impl !Send for cvec_t

impl !Sync for cvec_t

impl Unpin for cvec_t

impl UnwindSafe for cvec_t

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.