[−][src]Struct liriodendron::log::Log
Represents a communication interface between crates. Methods are using
this notation to optimize readability: tool_toolmethod()
when a method is directly referencing to a member tool.
Fields
actions: VecDeque<Action>
Stocks last user actions
brush: Brush
brushcolor: BrushColor
delayedgrids: Grids
Delayed state of grids
generationnumber: GenerationNumber
gridname: GridName
grids: Grids
Actual state of grids
texturessettings: TexturesSettings
overflow: bool
When true, a grids.state's overflow occured
queuecapacity: usize
Cusomizable member
canceledactions: Vec<Action>
Stocks last canceled actions
Methods
impl Log
[src]
pub fn new(map_capacity: usize, queue_capacity: usize) -> Log
[src]
pub fn brush_next(&mut self)
[src]
pub fn brush_previous(&mut self)
[src]
pub fn brush_getcolor<T>(&self) -> (T, T, T) where
T: PrimInt + From<u8>,
[src]
T: PrimInt + From<u8>,
pub fn brush_setcolor(&mut self)
[src]
pub fn brush_getcurrentaction(&self) -> FullPixel
[src]
pub fn brush_getbodyderatio(&self) -> f64
[src]
pub fn brush_incrbodyderatio(&mut self)
[src]
pub fn brush_decrbodyderatio(&mut self)
[src]
pub fn brush_getbodydrratio(&self) -> f64
[src]
pub fn brush_incrbodydrratio(&mut self)
[src]
pub fn brush_decrbodydrratio(&mut self)
[src]
pub fn brushcolor_getcursor(&self) -> (u16, bool)
[src]
pub fn brushcolor_cursorleft(&mut self)
[src]
pub fn brushcolor_resetcursor(&mut self)
[src]
pub fn brushcolor_cursorright(&mut self)
[src]
pub fn brushcolor_getvalue(&self) -> (String, String, String)
[src]
pub fn brushcolor_setvalue(&mut self, number: char)
[src]
pub fn generationnumber_getcursor(&self) -> (u16, bool)
[src]
pub fn generationnumber_cursorleft(&mut self)
[src]
pub fn generationnumber_resetcursor(&mut self)
[src]
pub fn generationnumber_cursorright(&mut self)
[src]
pub fn generationnumber_getvalue(&self) -> String
[src]
pub fn generationnumber_setvalue(&mut self, number: char)
[src]
pub fn gridname_getcursor(&self) -> (u16, bool)
[src]
pub fn gridname_cursorleft(&mut self)
[src]
pub fn gridname_cursorright(&mut self)
[src]
pub fn gridname_getvalue(&self) -> String
[src]
pub fn gridname_setvalue(&mut self, letter: char)
[src]
pub fn gridname_backspace(&mut self)
[src]
pub fn gridname_reset(&mut self)
[src]
pub fn grids_getwidth<T>(&self) -> T where
T: PrimInt + From<u16>,
[src]
T: PrimInt + From<u16>,
pub fn grids_getheight<T>(&self) -> T where
T: PrimInt + From<u16>,
[src]
T: PrimInt + From<u16>,
pub fn grids_getlengthcapacity(&self) -> (usize, usize)
[src]
pub fn grids_getcurrentgrid(&self) -> Vec<(FullPixel, u16, u16)>
[src]
pub fn grids_getgrids<T>(&self) -> HashMap<(T, T), (usize, FullPixel)> where
T: PrimInt + From<u16> + Hash,
[src]
T: PrimInt + From<u16> + Hash,
pub fn grids_getnames(&self) -> Vec<String>
[src]
pub fn grids_getcurrentgridid(&self) -> usize
[src]
pub fn grids_getnb(&self) -> usize
[src]
pub fn grids_add(&mut self)
[src]
pub fn grids_renamecurrentgrid(&mut self)
[src]
pub fn grids_deletecurrentgrid(&mut self)
[src]
pub fn grids_erroroccured(&self) -> bool
[src]
pub fn grids_geterror(&self) -> String
[src]
pub fn grids_isfull(&self) -> bool
[src]
pub fn grids_isalone(&self) -> bool
[src]
pub fn grids_nextswitchcursor(&mut self)
[src]
pub fn grids_previousswitchcursor(&mut self)
[src]
pub fn grids_getswitchcursor(&self) -> usize
[src]
pub fn grids_switchorder(&mut self)
[src]
pub fn grids_next(&mut self)
[src]
pub fn grids_previous(&mut self)
[src]
pub fn gridscroll_getscroll(&self) -> (u16, u16)
[src]
pub fn gridscroll_checkscroll(&mut self, area_size: &(u16, u16))
[src]
pub fn gridscroll_scrollup(&mut self)
[src]
pub fn gridscroll_scrolldown(&mut self)
[src]
pub fn gridscroll_scrollright(&mut self)
[src]
pub fn gridscroll_scrollleft(&mut self)
[src]
pub fn texturessettings_getpixelratio<T>(&self) -> T where
T: PrimInt + From<u16>,
[src]
T: PrimInt + From<u16>,
pub fn texturessettings_incrpixelratio(&mut self)
[src]
pub fn texturessettings_decrpixelratio(&mut self)
[src]
pub fn texturessettings_getborderratio(&self) -> u8
[src]
pub fn texturessettings_getpalette(&self) -> PaletteGeneration
[src]
pub fn texturessettings_getgenerationnumber(&self) -> u16
[src]
pub fn texturessettings_setgenerationnumber(&mut self)
[src]
pub fn texturessettings_getformat(&self) -> ImageFormat
[src]
pub fn texturessettings_nextformat(&mut self)
[src]
pub fn texturessettings_previousformat(&mut self)
[src]
pub fn texturessettings_getformatinfo(&self) -> ([ImageFormat; 2], usize)
[src]
fn check_queue_size(&mut self)
[src]
pub fn overflow(&mut self) -> bool
[src]
pub fn brush(&mut self, (x, y): (u16, u16))
[src]
pub fn erase(&mut self, (x, y): (u16, u16))
[src]
pub fn clear(&mut self)
[src]
pub fn increment_width(&mut self)
[src]
pub fn decrement_width(&mut self)
[src]
pub fn increment_height(&mut self)
[src]
pub fn decrement_height(&mut self)
[src]
pub fn undo(&mut self)
[src]
pub fn redo(&mut self)
[src]
pub fn check_last_action(
&mut self,
(left, right, top, bottom): (u16, u16, u16, u16)
)
[src]
&mut self,
(left, right, top, bottom): (u16, u16, u16, u16)
)
Auto Trait Implementations
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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, 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>,