[][src]Struct polyhorn_ios::prelude::LayoutAdjustment

pub struct LayoutAdjustment { /* fields omitted */ }

Structure that contains all updates that should be made to a view's layout in response to a change in the visibility or dimensions of the system's virtual keyboard.

Implementations

impl LayoutAdjustment[src]

pub fn new() -> LayoutAdjustment[src]

Returns a new and empty layout adjustment.

pub fn margin_bottom(self, bottom: Dimension<f32>) -> LayoutAdjustment[src]

Sets the margin bottom of this layout adjustment. Note that this will be added to the existing margin of the view.

Trait Implementations

impl Default for LayoutAdjustment[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.