pub struct Rect2DBuilder { /* private fields */ }Expand description
Builder for Rect2D.
Implementations§
Source§impl Rect2DBuilder
impl Rect2DBuilder
pub fn offset(self, value: Offset2D) -> Rect2DBuilder
pub fn extent(self, value: Extent2D) -> Rect2DBuilder
Trait Implementations§
Source§impl Deref for Rect2DBuilder
impl Deref for Rect2DBuilder
Source§impl DerefMut for Rect2DBuilder
impl DerefMut for Rect2DBuilder
Auto Trait Implementations§
impl Freeze for Rect2DBuilder
impl RefUnwindSafe for Rect2DBuilder
impl Send for Rect2DBuilder
impl Sync for Rect2DBuilder
impl Unpin for Rect2DBuilder
impl UnsafeUnpin for Rect2DBuilder
impl UnwindSafe for Rect2DBuilder
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