pub struct ClipConfig {
pub horizontal: bool,
pub vertical: bool,
pub scroll_x: bool,
pub scroll_y: bool,
pub child_offset: Vector2,
}Fields§
§horizontal: bool§vertical: bool§scroll_x: bool§scroll_y: bool§child_offset: Vector2Trait Implementations§
Source§impl Clone for ClipConfig
impl Clone for ClipConfig
Source§fn clone(&self) -> ClipConfig
fn clone(&self) -> ClipConfig
Returns a duplicate 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 ClipConfig
impl Debug for ClipConfig
Source§impl Default for ClipConfig
impl Default for ClipConfig
Source§fn default() -> ClipConfig
fn default() -> ClipConfig
Returns the “default value” for a type. Read more
impl Copy for ClipConfig
Auto Trait Implementations§
impl Freeze for ClipConfig
impl RefUnwindSafe for ClipConfig
impl Send for ClipConfig
impl Sync for ClipConfig
impl Unpin for ClipConfig
impl UnsafeUnpin for ClipConfig
impl UnwindSafe for ClipConfig
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