BbI

Type Alias BbI 

Source
pub type BbI = BB<TPtI>;

Aliased Type§

pub struct BbI {
    pub x: u32,
    pub y: u32,
    pub w: u32,
    pub h: u32,
}

Fields§

§x: u32§y: u32§w: u32§h: u32

Implementations§

Source§

impl BbI

Source

pub fn expand(&self, x_expand: TPtI, y_expand: TPtI, shape: ShapeI) -> Self

Trait Implementations§

Source§

impl Display for BbI

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<BB<f64>> for BbI

Source§

fn from(box_f: BbF) -> Self

Converts to this type from the input type.
Source§

impl From<BB<i64>> for BbI

Source§

fn from(bb: BbS) -> Self

Converts to this type from the input type.
Source§

impl FromStr for BbI

Source§

type Err = RvError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> RvResult<Self>

Parses a string s to return a value of this type. Read more