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

Trait containing all DOMClientRect methods.

Implementors

DOMClientRect

Required Methods

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

Available on crate feature v2_18 only.

Returns the height of self.

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gfloat

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

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

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

Available on crate feature v2_18 only.

Returns the width of self.

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gfloat

Implementors