Struct guion::layout::size::StdGonstraints [−][src]
Size +/+= Border
Fields
x: StdGonstraintAxis
y: StdGonstraintAxis
Implementations
impl StdGonstraints
[src]
pub const fn fixed_const(w: u32, h: u32) -> Self
[src]
Trait Implementations
impl Add<&'_ Border> for StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &Border) -> Self::Output
[src]
impl<'a> Add<&'_ Border> for &'a StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &Border) -> Self::Output
[src]
impl<'a> Add<&'_ Border> for &'a mut StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &Border) -> Self::Output
[src]
impl Add<&'_ mut Border> for StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &mut Border) -> Self::Output
[src]
impl<'a> Add<&'_ mut Border> for &'a StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &mut Border) -> Self::Output
[src]
impl<'a> Add<&'_ mut Border> for &'a mut StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: &mut Border) -> Self::Output
[src]
impl Add<Border> for StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: Border) -> Self::Output
[src]
impl<'a> Add<Border> for &'a StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: Border) -> Self::Output
[src]
impl<'a> Add<Border> for &'a mut StdGonstraints
[src]
type Output = StdGonstraints
The resulting type after applying the +
operator.
fn add(self, r: Border) -> Self::Output
[src]
impl AddAssign<&'_ Border> for StdGonstraints
[src]
fn add_assign(&mut self, r: &Border)
[src]
impl<'a> AddAssign<&'_ Border> for &'a mut StdGonstraints
[src]
fn add_assign(&mut self, r: &Border)
[src]
impl AddAssign<&'_ mut Border> for StdGonstraints
[src]
fn add_assign(&mut self, r: &mut Border)
[src]
impl<'a> AddAssign<&'_ mut Border> for &'a mut StdGonstraints
[src]
fn add_assign(&mut self, r: &mut Border)
[src]
impl AddAssign<Border> for StdGonstraints
[src]
fn add_assign(&mut self, r: Border)
[src]
impl<'a> AddAssign<Border> for &'a mut StdGonstraints
[src]
fn add_assign(&mut self, r: Border)
[src]
impl Clone for StdGonstraints
[src]
fn clone(&self) -> StdGonstraints
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StdGonstraints
[src]
impl Gonstraints for StdGonstraints
[src]
type Axis = StdGonstraintAxis
fn x(&self) -> Self::Axis
[src]
fn y(&self) -> Self::Axis
[src]
fn set_x(&mut self, x: &Self::Axis)
[src]
fn set_y(&mut self, y: &Self::Axis)
[src]
fn empty() -> Self
[src]
fn fixed(w: u32, h: u32) -> Self
[src]
fn from_axis(x: &Self::Axis, y: &Self::Axis) -> Self
[src]
fn add_x(&mut self, o: &Self)
[src]
fn add_y(&mut self, o: &Self)
[src]
fn and(&self, o: &Self) -> Self
[src]
fn max(&self, o: &Self) -> Self
[src]
fn add_border(&mut self, b: &Border)
[src]
fn par(&self, dir: Orientation) -> Self::Axis
[src]
fn unpar(&self, dir: Orientation) -> Self::Axis
[src]
fn set_par(&mut self, dir: Orientation, v: &Self::Axis)
[src]
fn set_unpar(&mut self, dir: Orientation, v: &Self::Axis)
[src]
fn from_par(dir: Orientation, par: &Self::Axis, unpar: &Self::Axis) -> Self
[src]
fn add(&mut self, o: &Self, dir: Orientation)
[src]
fn flip(&mut self)
[src]
fn add_space(&mut self, v: u32, dir: Orientation)
[src]
impl Index<Orientation> for StdGonstraints
[src]
type Output = StdGonstraintAxis
The returned type after indexing.
fn index(&self, i: Orientation) -> &Self::Output
[src]
Auto Trait Implementations
impl RefUnwindSafe for StdGonstraints
impl Send for StdGonstraints
impl Sync for StdGonstraints
impl Unpin for StdGonstraints
impl UnwindSafe for StdGonstraints
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E, T> AtomState<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
impl<E, T> AtomStateMut<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
pub fn set_direct(&mut Self, T) -> Result<(), ()>
[src]
fn set(&mut self, v: T, _: &mut E::Context)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> FromInto<U> for T where
T: From<U> + Into<U>,
[src]
T: From<U> + Into<U>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &S)
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &[S])
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,