[−]Struct jni_android_sys::android::view::Gravity
public class Gravity
Required feature: "android-view-Gravity"
Methods
impl Gravity
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Gravity>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Gravity>, Local<'env, Throwable>>
pub fn apply_int_int_int_Rect_Rect<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn apply_int_int_int_Rect_Rect_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: impl Into<Option<&'env Rect>>,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: impl Into<Option<&'env Rect>>,
arg5: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn apply_int_int_int_Rect_int_int_Rect<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn apply_int_int_int_Rect_int_int_Rect_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Rect>>,
arg7: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Rect>>,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env Rect>>,
arg7: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn applyDisplay_int_Rect_Rect<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn applyDisplay_int_Rect_Rect_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>,
arg2: impl Into<Option<&'env Rect>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn isVertical<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn isHorizontal<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getAbsoluteGravity<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
pub const AXIS_CLIP: i32
[src]
public static final AXIS_CLIP
pub const AXIS_PULL_AFTER: i32
[src]
public static final AXIS_PULL_AFTER
pub const AXIS_PULL_BEFORE: i32
[src]
public static final AXIS_PULL_BEFORE
pub const AXIS_SPECIFIED: i32
[src]
public static final AXIS_SPECIFIED
pub const AXIS_X_SHIFT: i32
[src]
public static final AXIS_X_SHIFT
pub const AXIS_Y_SHIFT: i32
[src]
public static final AXIS_Y_SHIFT
pub const BOTTOM: i32
[src]
public static final BOTTOM
pub const CENTER: i32
[src]
public static final CENTER
pub const CENTER_HORIZONTAL: i32
[src]
public static final CENTER_HORIZONTAL
pub const CENTER_VERTICAL: i32
[src]
public static final CENTER_VERTICAL
pub const CLIP_HORIZONTAL: i32
[src]
public static final CLIP_HORIZONTAL
pub const CLIP_VERTICAL: i32
[src]
public static final CLIP_VERTICAL
pub const DISPLAY_CLIP_HORIZONTAL: i32
[src]
public static final DISPLAY_CLIP_HORIZONTAL
pub const DISPLAY_CLIP_VERTICAL: i32
[src]
public static final DISPLAY_CLIP_VERTICAL
pub const END: i32
[src]
public static final END
pub const FILL: i32
[src]
public static final FILL
pub const FILL_HORIZONTAL: i32
[src]
public static final FILL_HORIZONTAL
pub const FILL_VERTICAL: i32
[src]
public static final FILL_VERTICAL
pub const HORIZONTAL_GRAVITY_MASK: i32
[src]
public static final HORIZONTAL_GRAVITY_MASK
pub const LEFT: i32
[src]
public static final LEFT
pub const NO_GRAVITY: i32
[src]
public static final NO_GRAVITY
pub const RELATIVE_HORIZONTAL_GRAVITY_MASK: i32
[src]
public static final RELATIVE_HORIZONTAL_GRAVITY_MASK
pub const RELATIVE_LAYOUT_DIRECTION: i32
[src]
public static final RELATIVE_LAYOUT_DIRECTION
pub const RIGHT: i32
[src]
public static final RIGHT
pub const START: i32
[src]
public static final START
pub const TOP: i32
[src]
public static final TOP
pub const VERTICAL_GRAVITY_MASK: i32
[src]
public static final VERTICAL_GRAVITY_MASK
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Gravity
impl AsValidJObjectAndEnv for Gravity
impl Deref for Gravity
impl JniType for Gravity
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Gravity
impl !Send for Gravity
impl !Sync for Gravity
impl Unpin for Gravity
impl UnwindSafe for Gravity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,