pub struct ScrollContainer {
pub horizontal: bool,
pub vertical: bool,
}Fields§
§horizontal: bool§vertical: boolImplementations§
Source§impl ScrollContainer
impl ScrollContainer
pub fn new() -> Self
pub fn horizontal(&mut self) -> &mut Self
pub fn vertical(&mut self) -> &mut Self
pub fn end(&self) -> TypedConfig
Trait Implementations§
Source§impl Clone for ScrollContainer
impl Clone for ScrollContainer
Source§fn clone(&self) -> ScrollContainer
fn clone(&self) -> ScrollContainer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScrollContainer
impl Debug for ScrollContainer
Source§impl Default for ScrollContainer
impl Default for ScrollContainer
Source§fn default() -> ScrollContainer
fn default() -> ScrollContainer
Returns the “default value” for a type. Read more
Source§impl From<Clay_ScrollElementConfig> for ScrollContainer
impl From<Clay_ScrollElementConfig> for ScrollContainer
Source§fn from(value: Clay_ScrollElementConfig) -> Self
fn from(value: Clay_ScrollElementConfig) -> Self
Converts to this type from the input type.
Source§impl From<ScrollContainer> for Clay_ScrollElementConfig
impl From<ScrollContainer> for Clay_ScrollElementConfig
Source§fn from(value: ScrollContainer) -> Self
fn from(value: ScrollContainer) -> Self
Converts to this type from the input type.
impl Copy for ScrollContainer
Auto Trait Implementations§
impl Freeze for ScrollContainer
impl RefUnwindSafe for ScrollContainer
impl Send for ScrollContainer
impl Sync for ScrollContainer
impl Unpin for ScrollContainer
impl UnwindSafe for ScrollContainer
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