Struct railroad::HorizontalGrid
source · pub struct HorizontalGrid { /* private fields */ }
Expand description
A horizontal group of unconnected elements.
Implementations
sourceimpl HorizontalGrid
impl HorizontalGrid
pub fn new(children: Vec<Box<dyn RailroadNode>>) -> Self
pub fn push(&mut self, child: Box<dyn RailroadNode>) -> &mut Self
pub fn into_inner(self) -> Vec<Box<dyn RailroadNode>>
Trait Implementations
sourceimpl Debug for HorizontalGrid
impl Debug for HorizontalGrid
sourceimpl RailroadNode for HorizontalGrid
impl RailroadNode for HorizontalGrid
sourcefn entry_height(&self) -> i64
fn entry_height(&self) -> i64
The vertical distance from this element’s top to where the entering,
connecting path is drawn. Read more
sourcefn height_below_entry(&self) -> i64
fn height_below_entry(&self) -> i64
The vertical distance from the height of the connecting path to the bottom.
Auto Trait Implementations
impl !RefUnwindSafe for HorizontalGrid
impl !Send for HorizontalGrid
impl !Sync for HorizontalGrid
impl Unpin for HorizontalGrid
impl !UnwindSafe for HorizontalGrid
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more