[−][src]Struct zoozle::csv::CsvEx
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: usize
x_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
Auto Trait Implementations
impl RefUnwindSafe for CsvEx
[src]
impl Send for CsvEx
[src]
impl Sync for CsvEx
[src]
impl Unpin for CsvEx
[src]
impl UnwindSafe for CsvEx
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,