Struct tmux_interface::variables::layout::layout_cell::LayoutCell
source · pub struct LayoutCell {
pub x: usize,
pub y: usize,
pub x_off: usize,
pub y_off: usize,
pub id: Option<usize>,
pub style: LayoutType,
pub cells: Option<Vec<LayoutCell>>,
}
Fields§
§x: usize
§y: usize
§x_off: usize
§y_off: usize
§id: Option<usize>
§style: LayoutType
§cells: Option<Vec<LayoutCell>>
Implementations§
source§impl LayoutCell
impl LayoutCell
pub fn new( x: usize, y: usize, x_off: usize, y_off: usize, id: Option<usize>, style: LayoutType, cells: Option<Vec<LayoutCell>> ) -> Self
pub fn fsm( &mut self, chars: &mut Chars<'_>, state: LayoutFSMState ) -> Result<LayoutFSMState, Error>
Trait Implementations§
source§impl Clone for LayoutCell
impl Clone for LayoutCell
source§fn clone(&self) -> LayoutCell
fn clone(&self) -> LayoutCell
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LayoutCell
impl Debug for LayoutCell
source§impl Default for LayoutCell
impl Default for LayoutCell
source§fn default() -> LayoutCell
fn default() -> LayoutCell
Returns the “default value” for a type. Read more
source§impl FromStr for LayoutCell
impl FromStr for LayoutCell
source§impl PartialEq for LayoutCell
impl PartialEq for LayoutCell
source§fn eq(&self, other: &LayoutCell) -> bool
fn eq(&self, other: &LayoutCell) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LayoutCell
Auto Trait Implementations§
impl RefUnwindSafe for LayoutCell
impl Send for LayoutCell
impl Sync for LayoutCell
impl Unpin for LayoutCell
impl UnwindSafe for LayoutCell
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more