Struct fitsio::columndescription::ColumnDataDescription
[−]
[src]
pub struct ColumnDataDescription { pub repeat: usize, pub width: usize, pub typ: ColumnDataType, }
Description of the column data
Fields
repeat: usize
width: usize
typ: ColumnDataType
Methods
impl ColumnDataDescription
[src]
fn new(typ: ColumnDataType, repeat: usize, width: usize) -> Self
[src]
fn scalar(typ: ColumnDataType) -> Self
[src]
Shortcut for creating a scalar column
fn vector(typ: ColumnDataType, repeat: usize) -> Self
[src]
fn repeats(&mut self, repeat: usize) -> Self
[src]
fn width(&mut self, width: usize) -> Self
[src]
Trait Implementations
impl Debug for ColumnDataDescription
[src]
impl Clone for ColumnDataDescription
[src]
fn clone(&self) -> ColumnDataDescription
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ColumnDataDescription
[src]
fn eq(&self, __arg_0: &ColumnDataDescription) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnDataDescription) -> bool
[src]
This method tests for !=
.