pub struct ScrollRectBuilder { /* private fields */ }Expand description
Builder for ScrollRect.
Implementations§
Source§impl ScrollRectBuilder
impl ScrollRectBuilder
Sourcepub fn type<VALUE: Into<ScrollRectType>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<ScrollRectType>>(&mut self, value: VALUE) -> &mut Self
Reason for rectangle to force scrolling on the main thread
Sourcepub fn build(&self) -> Result<ScrollRect, ScrollRectBuilderError>
pub fn build(&self) -> Result<ScrollRect, ScrollRectBuilderError>
Trait Implementations§
Source§impl Clone for ScrollRectBuilder
impl Clone for ScrollRectBuilder
Source§fn clone(&self) -> ScrollRectBuilder
fn clone(&self) -> ScrollRectBuilder
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 moreAuto Trait Implementations§
impl Freeze for ScrollRectBuilder
impl RefUnwindSafe for ScrollRectBuilder
impl Send for ScrollRectBuilder
impl Sync for ScrollRectBuilder
impl Unpin for ScrollRectBuilder
impl UnsafeUnpin for ScrollRectBuilder
impl UnwindSafe for ScrollRectBuilder
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