[−]Struct jni_android_sys::android::widget::RelativeLayout_LayoutParams
public class RelativeLayout.LayoutParams
Required feature: "android-widget-RelativeLayout_LayoutParams"
Methods
impl RelativeLayout_LayoutParams
pub fn new_Context_AttributeSet<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
pub fn new_ViewGroup_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-view-ViewGroup_LayoutParams"
pub fn new_ViewGroup_MarginLayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_MarginLayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_MarginLayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-view-ViewGroup_MarginLayoutParams"
pub fn new_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RelativeLayout_LayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RelativeLayout_LayoutParams>>
) -> Result<Local<'env, RelativeLayout_LayoutParams>, Local<'env, Throwable>>
Required features: "android-widget-RelativeLayout_LayoutParams"
pub fn debug<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn addRule_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn addRule_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn removeRule<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getRule<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getRules<'env>(
&'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
pub fn resolveLayoutDirection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn alignWithParent<'env>(&'env self) -> bool
[src]
get public alignWithParent
pub fn set_alignWithParent<'env>(&'env self, value: bool)
[src]
set public alignWithParent
Methods from Deref<Target = ViewGroup_MarginLayoutParams>
pub fn setMargins<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMarginStart<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMarginStart<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setMarginEnd<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMarginEnd<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isMarginRelative<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setLayoutDirection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getLayoutDirection<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn resolveLayoutDirection<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn bottomMargin<'env>(&'env self) -> i32
[src]
get public bottomMargin
pub fn set_bottomMargin<'env>(&'env self, value: i32)
[src]
set public bottomMargin
pub fn leftMargin<'env>(&'env self) -> i32
[src]
get public leftMargin
pub fn set_leftMargin<'env>(&'env self, value: i32)
[src]
set public leftMargin
pub fn rightMargin<'env>(&'env self) -> i32
[src]
get public rightMargin
pub fn set_rightMargin<'env>(&'env self, value: i32)
[src]
set public rightMargin
pub fn topMargin<'env>(&'env self) -> i32
[src]
get public topMargin
pub fn set_topMargin<'env>(&'env self, value: i32)
[src]
set public topMargin
Trait Implementations
impl AsJValue for RelativeLayout_LayoutParams
impl AsValidJObjectAndEnv for RelativeLayout_LayoutParams
impl Deref for RelativeLayout_LayoutParams
type Target = ViewGroup_MarginLayoutParams
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for RelativeLayout_LayoutParams
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RelativeLayout_LayoutParams
impl !Send for RelativeLayout_LayoutParams
impl !Sync for RelativeLayout_LayoutParams
impl Unpin for RelativeLayout_LayoutParams
impl UnwindSafe for RelativeLayout_LayoutParams
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>,