Skip to main content

GetZ

Trait GetZ 

Source
pub trait GetZ {
    // Required method
    fn z(&self) -> Option<f64>;
}
Expand description

Trait to extract the z value

Required Methods§

Source

fn z(&self) -> Option<f64>

Returns the z value

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GetZ for (f64, f64)

Source§

fn z(&self) -> Option<f64>

Source§

impl GetZ for (f64, f64, f64)

Source§

fn z(&self) -> Option<f64>

Implementors§