pub struct SetContentsSize {
pub window_id: WindowId,
pub width: Option<JsUInt>,
pub height: Option<JsUInt>,
}Fields§
§window_id: WindowId§width: Option<JsUInt>§height: Option<JsUInt>Trait Implementations§
Source§impl Clone for SetContentsSize
impl Clone for SetContentsSize
Source§fn clone(&self) -> SetContentsSize
fn clone(&self) -> SetContentsSize
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 SetContentsSize
impl Debug for SetContentsSize
Source§impl<'de> Deserialize<'de> for SetContentsSize
impl<'de> Deserialize<'de> for SetContentsSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetContentsSize
impl Method for SetContentsSize
const NAME: &'static str = "Browser.setContentsSize"
type ReturnObject = SetContentsSizeReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SetContentsSize
impl PartialEq for SetContentsSize
Source§impl Serialize for SetContentsSize
impl Serialize for SetContentsSize
impl StructuralPartialEq for SetContentsSize
Auto Trait Implementations§
impl Freeze for SetContentsSize
impl RefUnwindSafe for SetContentsSize
impl Send for SetContentsSize
impl Sync for SetContentsSize
impl Unpin for SetContentsSize
impl UnwindSafe for SetContentsSize
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