pub struct SetContentsSizeParamsBuilder { /* private fields */ }Implementations§
Source§impl SetContentsSizeParamsBuilder
impl SetContentsSizeParamsBuilder
pub fn window_id( self, window_id: impl Into<WindowId>, ) -> SetContentsSizeParamsBuilder
pub fn width(self, width: impl Into<i64>) -> SetContentsSizeParamsBuilder
pub fn height(self, height: impl Into<i64>) -> SetContentsSizeParamsBuilder
pub fn build(self) -> Result<SetContentsSizeParams, String>
Trait Implementations§
Source§impl Clone for SetContentsSizeParamsBuilder
impl Clone for SetContentsSizeParamsBuilder
Source§fn clone(&self) -> SetContentsSizeParamsBuilder
fn clone(&self) -> SetContentsSizeParamsBuilder
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 Default for SetContentsSizeParamsBuilder
impl Default for SetContentsSizeParamsBuilder
Source§fn default() -> SetContentsSizeParamsBuilder
fn default() -> SetContentsSizeParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetContentsSizeParamsBuilder
impl RefUnwindSafe for SetContentsSizeParamsBuilder
impl Send for SetContentsSizeParamsBuilder
impl Sync for SetContentsSizeParamsBuilder
impl Unpin for SetContentsSizeParamsBuilder
impl UnwindSafe for SetContentsSizeParamsBuilder
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