Struct railroad::VerticalGrid
source · pub struct VerticalGrid { /* private fields */ }
Expand description
A vertical group of unconnected elements.
Implementations
sourceimpl VerticalGrid
impl VerticalGrid
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 VerticalGrid
impl Debug for VerticalGrid
sourceimpl RailroadNode for VerticalGrid
impl RailroadNode for VerticalGrid
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 VerticalGrid
impl !Send for VerticalGrid
impl !Sync for VerticalGrid
impl Unpin for VerticalGrid
impl !UnwindSafe for VerticalGrid
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