[−]Struct jni_android_sys::android::widget::Toolbar_LayoutParams
public class Toolbar.LayoutParams
Required feature: "android-widget-Toolbar_LayoutParams"
Methods
impl Toolbar_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, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, Toolbar_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, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
pub fn new_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
pub fn new_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
pub fn new_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Toolbar_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Toolbar_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
Required features: "android-widget-Toolbar_LayoutParams"
pub fn new_ActionBar_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ActionBar_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ActionBar_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
Required features: "android-app-ActionBar_LayoutParams"
pub fn new_ViewGroup_MarginLayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_MarginLayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_MarginLayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
Required features: "android-view-ViewGroup_MarginLayoutParams"
pub fn new_ViewGroup_LayoutParams<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<Local<'env, Toolbar_LayoutParams>, Local<'env, Throwable>>
Required features: "android-view-ViewGroup_LayoutParams"
Methods from Deref<Target = ActionBar_LayoutParams>
pub fn gravity<'env>(&'env self) -> i32
[src]
get public gravity
pub fn set_gravity<'env>(&'env self, value: i32)
[src]
set public gravity
Trait Implementations
impl AsJValue for Toolbar_LayoutParams
impl AsValidJObjectAndEnv for Toolbar_LayoutParams
impl Deref for Toolbar_LayoutParams
type Target = ActionBar_LayoutParams
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for Toolbar_LayoutParams
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Toolbar_LayoutParams
impl !Send for Toolbar_LayoutParams
impl !Sync for Toolbar_LayoutParams
impl Unpin for Toolbar_LayoutParams
impl UnwindSafe for Toolbar_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>,