Struct light_phylogeny::Noeud [−][src]
pub struct Noeud<T> where
T: PartialEq, {}Show fields
pub idx: usize, pub name: String, pub parent: Option<usize>, pub children: Vec<usize>, pub x: f32, pub xmod: f32, pub y: f32, pub ymod: f32, pub l: f32, pub e: Event, pub location: String, pub width: f32, pub height: f32, pub nbg: usize, pub nodes: Vec<(usize, usize)>, pub is_a_transfert: bool, pub go_left: usize, pub go_right: usize, pub fixed: bool, pub transfers: Vec<usize>, // some fields omitted
Structure Noeud.
Fields
idx: usize
name: String
parent: Option<usize>
children: Vec<usize>
x: f32
xmod: f32
y: f32
ymod: f32
l: f32
e: Event
location: String
width: f32
height: f32
nbg: usize
nodes: Vec<(usize, usize)>
is_a_transfert: bool
go_left: usize
go_right: usize
fixed: bool
transfers: Vec<usize>
Implementations
impl<T> Noeud<T> where
T: PartialEq,
[src]
impl<T> Noeud<T> where
T: PartialEq,
[src]pub fn new(idx: usize, val: T) -> Self
[src]
pub fn set_event(&mut self, e: Event)
[src]
Set node event
pub fn set_x_noref(&mut self, x: f32)
[src]
Set node x
pub fn set_xmod_noref(&mut self, xmod: f32)
[src]
Set node xmod
pub fn set_ymod_noref(&mut self, ymod: f32)
[src]
Set node ymod
pub fn set_y_noref(&mut self, y: f32)
[src]
Set node y
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Noeud<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for Noeud<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Noeud<T> where
T: UnwindSafe,
impl<T> UnwindSafe for Noeud<T> where
T: UnwindSafe,