Struct charming::component::single_axis::SingleAxis
source · pub struct SingleAxis { /* private fields */ }
Implementations§
source§impl SingleAxis
impl SingleAxis
pub fn new() -> Self
pub fn type_(self, type_: Type) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn width<C: Into<CompositeValue>>(self, width: C) -> Self
pub fn height<C: Into<CompositeValue>>(self, height: C) -> Self
pub fn orient(self, orient: Orient) -> Self
pub fn inverse(self, inverse: bool) -> Self
pub fn min<S: Into<String>>(self, min: S) -> Self
pub fn max<S: Into<String>>(self, max: S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SingleAxis
impl Send for SingleAxis
impl Sync for SingleAxis
impl Unpin for SingleAxis
impl UnwindSafe for SingleAxis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more