[−][src]Struct liriodendron::log::tools::grids::cell::Cell
Represents one cell of a grid
Fields
grid_id: usize
grid: Grid
x: u16
y: u16
Methods
impl Cell
[src]
pub fn new((grid_id, grid, tool): (usize, Grid, CellTool)) -> (Cell, Pixel)
[src]
pub fn set_grid_id(&self, new_grid_id: usize) -> Cell
[src]
Returns a new Cell object with a new grid id and other fields cell caller
pub fn get_grid_id(&self) -> usize
[src]
pub fn get_grid(&self) -> Grid
[src]
pub fn get_x(&self) -> u16
[src]
pub fn get_y(&self) -> u16
[src]
Trait Implementations
impl Clone for Cell
[src]
impl Copy for Cell
[src]
impl Debug for Cell
[src]
impl Eq for Cell
[src]
impl Hash for Cell
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Cell> for Cell
[src]
impl StructuralEq for Cell
[src]
impl StructuralPartialEq for Cell
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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,
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> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,