Trait choosen::PositionType[][src]

pub trait PositionType {
    fn name(&self) -> &str;
fn set_name(&mut self, name: &str) -> Result<&mut Self, PositionTypeError>;
fn cap(&self) -> usize;
fn set_cap(
        &mut self,
        new_cap: usize
    ) -> Result<&mut Self, PositionTypeError>; }

Required methods

fn name(&self) -> &str[src]

fn set_name(&mut self, name: &str) -> Result<&mut Self, PositionTypeError>[src]

fn cap(&self) -> usize[src]

fn set_cap(&mut self, new_cap: usize) -> Result<&mut Self, PositionTypeError>[src]

Loading content...

Implementors

impl PositionType for Position[src]

fn name(&self) -> &str[src]

fn set_name(&mut self, name: &str) -> Result<&mut Self, PositionTypeError>[src]

fn cap(&self) -> usize[src]

fn set_cap(&mut self, new_cap: usize) -> Result<&mut Self, PositionTypeError>[src]

Loading content...