[][src]Struct guion::layout::size::SizeAxis

pub struct SizeAxis {
    pub min: u32,
    pub preferred: u32,
    pub max: Option<u32>,
    pub pressure: f32,
}

SizeAxis +/+= SizeAxis SizeAxis &/&= SizeAxis

Fields

min: u32preferred: u32max: Option<u32>pressure: f32

Methods

impl SizeAxis[src]

pub const fn empty() -> Self[src]

pub const fn fixed(s: u32) -> Self[src]

Trait Implementations

impl<'_> Add<&'_ SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a, '_> Add<&'_ SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a, '_> Add<&'_ SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'_> Add<&'_ mut SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a, '_> Add<&'_ mut SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a, '_> Add<&'_ mut SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl Add<SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a> Add<SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a> Add<SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl Add<u32> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a> Add<u32> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'a> Add<u32> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the + operator.

impl<'_> AddAssign<&'_ SizeAxis> for SizeAxis[src]

impl<'a, '_> AddAssign<&'_ SizeAxis> for &'a mut SizeAxis[src]

impl<'_> AddAssign<&'_ mut SizeAxis> for SizeAxis[src]

impl<'a, '_> AddAssign<&'_ mut SizeAxis> for &'a mut SizeAxis[src]

impl AddAssign<SizeAxis> for SizeAxis[src]

impl<'a> AddAssign<SizeAxis> for &'a mut SizeAxis[src]

impl AddAssign<u32> for SizeAxis[src]

impl<'a> AddAssign<u32> for &'a mut SizeAxis[src]

impl AsRef<SizeAxis> for SizeAxis[src]

impl<'_> BitAnd<&'_ SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a, '_> BitAnd<&'_ SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a, '_> BitAnd<&'_ SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'_> BitAnd<&'_ mut SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a, '_> BitAnd<&'_ mut SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a, '_> BitAnd<&'_ mut SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl BitAnd<SizeAxis> for SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a> BitAnd<SizeAxis> for &'a SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'a> BitAnd<SizeAxis> for &'a mut SizeAxis[src]

type Output = SizeAxis

The resulting type after applying the & operator.

impl<'_> BitAndAssign<&'_ SizeAxis> for SizeAxis[src]

impl<'a, '_> BitAndAssign<&'_ SizeAxis> for &'a mut SizeAxis[src]

impl<'_> BitAndAssign<&'_ mut SizeAxis> for SizeAxis[src]

impl<'a, '_> BitAndAssign<&'_ mut SizeAxis> for &'a mut SizeAxis[src]

impl BitAndAssign<SizeAxis> for SizeAxis[src]

impl<'a> BitAndAssign<SizeAxis> for &'a mut SizeAxis[src]

impl Clone for SizeAxis[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.