pub trait DOMClientRectExt: 'static {
Show 18 methods
fn bottom(&self) -> f32;
fn height(&self) -> f32;
fn left(&self) -> f32;
fn right(&self) -> f32;
fn top(&self) -> f32;
fn width(&self) -> f32;
fn get_property_bottom(&self) -> f32;
fn get_property_height(&self) -> f32;
fn get_property_left(&self) -> f32;
fn get_property_right(&self) -> f32;
fn get_property_top(&self) -> f32;
fn get_property_width(&self) -> f32;
fn connect_bottom_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_left_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_right_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_top_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods
sourcefn bottom(&self) -> f32
fn bottom(&self) -> f32
Available on crate feature
v2_18
only.Returns the bottom coordinate of self
, relative to the viewport.
Deprecated since 2.22
Use JavaScriptCore API instead
Returns
A gfloat
sourcefn left(&self) -> f32
fn left(&self) -> f32
Available on crate feature
v2_18
only.Returns the left coordinate of self
, relative to the viewport.
Deprecated since 2.22
Use JavaScriptCore API instead
Returns
A gfloat
sourcefn right(&self) -> f32
fn right(&self) -> f32
Available on crate feature
v2_18
only.Returns the right coordinate of self
, relative to the viewport.
Deprecated since 2.22
Use JavaScriptCore API instead
Returns
A gfloat
sourcefn top(&self) -> f32
fn top(&self) -> f32
Available on crate feature
v2_18
only.Returns the top coordinate of self
, relative to the viewport.
Deprecated since 2.22
Use JavaScriptCore API instead
Returns
A gfloat