[]Struct jni_android_sys::android::graphics::RectF

#[repr(transparent)]
pub struct RectF(_);

public class RectF

Required feature: "android-graphics-RectF"

Methods

impl RectF

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, RectF>, Local<'env, Throwable>>
[src]

pub fn new_float_float_float_float<'env>(
    __jni_env: &'env Env,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<Local<'env, RectF>, Local<'env, Throwable>>
[src]

pub fn new_RectF<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<Local<'env, RectF>, Local<'env, Throwable>>
[src]

RectF

Required features: "android-graphics-RectF"

pub fn new_Rect<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<Local<'env, RectF>, Local<'env, Throwable>>
[src]

RectF

Required features: "android-graphics-Rect"

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn toShortString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toShortString

Required features: "java-lang-String"

pub fn isEmpty<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn width<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn height<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn centerX<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn centerY<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn setEmpty<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn set_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn set_RectF<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<(), Local<'env, Throwable>>
[src]

set

Required features: "android-graphics-RectF"

pub fn set_Rect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

set

Required features: "android-graphics-Rect"

pub fn offset<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn offsetTo<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn inset<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn contains_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn contains_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn contains_RectF<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
[src]

contains

Required features: "android-graphics-RectF"

pub fn intersect_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn intersect_RectF<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
[src]

intersect

Required features: "android-graphics-RectF"

pub fn setIntersect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setIntersect

Required features: "android-graphics-RectF"

pub fn intersects_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn intersects_RectF_RectF<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env RectF>>,
    arg1: impl Into<Option<&'env RectF>>
) -> Result<bool, Local<'env, Throwable>>
[src]

intersects

Required features: "android-graphics-RectF"

pub fn round<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

round

Required features: "android-graphics-Rect"

pub fn roundOut<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

roundOut

Required features: "android-graphics-Rect"

pub fn union_float_float_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32,
    arg2: f32,
    arg3: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn union_RectF<'env>(
    &'env self,
    arg0: impl Into<Option<&'env RectF>>
) -> Result<(), Local<'env, Throwable>>
[src]

union

Required features: "android-graphics-RectF"

pub fn union_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn sort<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

pub fn readFromParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

readFromParcel

Required features: "android-os-Parcel"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub fn bottom<'env>(&'env self) -> f32[src]

get public bottom

pub fn set_bottom<'env>(&'env self, value: f32)[src]

set public bottom

pub fn left<'env>(&'env self) -> f32[src]

get public left

pub fn set_left<'env>(&'env self, value: f32)[src]

set public left

pub fn right<'env>(&'env self) -> f32[src]

get public right

pub fn set_right<'env>(&'env self, value: f32)[src]

set public right

pub fn top<'env>(&'env self) -> f32[src]

get public top

pub fn set_top<'env>(&'env self, value: f32)[src]

set public top

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for RectF

impl AsRef<Parcelable> for RectF

impl AsValidJObjectAndEnv for RectF

impl Deref for RectF

type Target = Object

The resulting type after dereferencing.

impl JniType for RectF

Auto Trait Implementations

impl RefUnwindSafe for RectF

impl !Send for RectF

impl !Sync for RectF

impl Unpin for RectF

impl UnwindSafe for RectF

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.