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, // some fields omitted
}

Structure Noeud.

Fields

idx: usizename: Stringparent: Option<usize>children: Vec<usize>x: f32xmod: f32y: f32ymod: f32l: f32e: Eventlocation: Stringwidth: f32height: f32nbg: usizenodes: Vec<(usize, usize)>is_a_transfert: bool

Implementations

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

impl<T: Debug> Debug for Noeud<T> where
    T: PartialEq
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Noeud<T> where
    T: RefUnwindSafe

impl<T> Send for Noeud<T> where
    T: Send

impl<T> Sync for Noeud<T> where
    T: Sync

impl<T> Unpin for Noeud<T> where
    T: Unpin

impl<T> UnwindSafe for Noeud<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,