Struct _mjvFigure

Source
#[repr(C)]
pub struct _mjvFigure {
Show 31 fields pub flg_legend: c_int, pub flg_ticklabel: [c_int; 2], pub flg_extend: c_int, pub flg_barplot: c_int, pub flg_selection: c_int, pub flg_symmetric: c_int, pub legendoff: c_int, pub gridsize: [c_int; 2], pub selection: c_int, pub highlight: [c_int; 2], pub gridrgb: [f32; 3], pub gridwidth: f32, pub figurergba: [f32; 4], pub panergba: [f32; 4], pub legendrgba: [f32; 4], pub textrgb: [f32; 3], pub range: [[f32; 2]; 2], pub xlabel: [c_char; 100], pub title: [c_char; 100], pub xformat: [c_char; 20], pub yformat: [c_char; 20], pub minwidth: [c_char; 20], pub linepnt: [c_int; 100], pub linergb: [[f32; 3]; 100], pub linewidth: [f32; 100], pub linedata: [[f32; 2000]; 100], pub linename: [[c_char; 100]; 100], pub xaxispixel: [c_int; 2], pub yaxispixel: [c_int; 2], pub xaxisdata: [f32; 2], pub yaxisdata: [f32; 2],
}

Fields§

§flg_legend: c_int§flg_ticklabel: [c_int; 2]§flg_extend: c_int§flg_barplot: c_int§flg_selection: c_int§flg_symmetric: c_int§legendoff: c_int§gridsize: [c_int; 2]§selection: c_int§highlight: [c_int; 2]§gridrgb: [f32; 3]§gridwidth: f32§figurergba: [f32; 4]§panergba: [f32; 4]§legendrgba: [f32; 4]§textrgb: [f32; 3]§range: [[f32; 2]; 2]§xlabel: [c_char; 100]§title: [c_char; 100]§xformat: [c_char; 20]§yformat: [c_char; 20]§minwidth: [c_char; 20]§linepnt: [c_int; 100]§linergb: [[f32; 3]; 100]§linewidth: [f32; 100]§linedata: [[f32; 2000]; 100]§linename: [[c_char; 100]; 100]§xaxispixel: [c_int; 2]§yaxispixel: [c_int; 2]§xaxisdata: [f32; 2]§yaxisdata: [f32; 2]

Trait Implementations§

Source§

impl Clone for _mjvFigure

Source§

fn clone(&self) -> _mjvFigure

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for _mjvFigure

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for _mjvFigure

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.