[][src]Struct zoozle::csv::CsvEx

pub struct CsvEx {
    pub plane: Vec<Vec<String>>,
    pub line: Vec<String>,
    pub y_len: usize,
    pub x_len: usize,
}

Struct which stores .csv file data.

If you need more detail about .csv data, you might want to see "zle::ust::CsvExUst" .

Fields

plane: Vec<Vec<String>>line: Vec<String>y_len: usizex_len: usize

Implementations

impl CsvEx[src]

pub fn new(path: String) -> Self[src]

 Create instance from .csv file you assigned by path.

pub fn read_check(&self, x: i32, y: i32) -> bool[src]

pub fn read_str(&self, x: i32, y: i32) -> String[src]

pub fn read_int(&self, x: i32, y: i32) -> i32[src]

pub fn read_double(&self, x: i32, y: i32) -> f64[src]

pub fn u_read_str(&self, x: usize, y: usize) -> String[src]

pub fn u_read_int(&self, x: usize, y: usize) -> i32[src]

pub fn u_read_double(&self, x: usize, y: usize) -> f64[src]

pub fn u_read_check(&self, x: usize, y: usize) -> bool[src]

pub fn safe_str(&self, x: usize, y: usize) -> Option<String>[src]

pub fn safe_int(&self, x: usize, y: usize) -> Option<i32>[src]

Trait Implementations

impl Clone for CsvEx[src]

Auto Trait Implementations

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.