[][src]Struct calcify::Branch

pub struct Branch { /* fields omitted */ }

Branch

Note

  • Not intended for direct use. Use the memebers of Tree instead.

Methods

impl Branch[src]

pub fn new(subtype: String, branch: Box<dyn Serializable>) -> Branch[src]

pub fn extract_str(&self) -> Collection<String>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_f64(&self) -> Result<Collection<f64>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_3v(&self) -> Result<Collection<ThreeVec>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_3m(&self) -> Result<Collection<ThreeMat>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_4v(&self) -> Result<Collection<FourVec>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_4m(&self) -> Result<Collection<FourMat>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

pub fn extract_bin(&self) -> Result<Collection<Bin>, ParseFloatError>[src]

Returns a Collection of the specified subtype from the Branch

Panics

Branch.subtype does not match the used extract function.

Trait Implementations

Auto Trait Implementations

impl !Send for Branch

impl !Sync for Branch

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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