#[repr(C)]pub struct Navigation {
pub m_mode: Navigation_Mode,
pub m_wrap_around: bool,
pub m_select_on_up: Selectable,
pub m_select_on_down: Selectable,
pub m_select_on_left: Selectable,
pub m_select_on_right: Selectable,
}Expand description
Fields§
§m_mode: Navigation_Mode§m_wrap_around: bool§m_select_on_up: Selectable§m_select_on_down: Selectable§m_select_on_left: Selectable§m_select_on_right: SelectableImplementations§
get_defaultNavigation() overload
Sourcepub fn get_mode(&mut self) -> Navigation_Mode
pub fn get_mode(&mut self) -> Navigation_Mode
get_mode() overload
Sourcepub fn set_mode(&mut self, value: impl Into<Navigation_Mode>)
pub fn set_mode(&mut self, value: impl Into<Navigation_Mode>)
set_mode(crate::unity_engine::ui::navigation::Navigation_Mode) overload
Sourcepub fn get_wrap_around(&mut self) -> bool
pub fn get_wrap_around(&mut self) -> bool
get_wrapAround() overload
Sourcepub fn set_wrap_around(&mut self, value: impl Into<bool>)
pub fn set_wrap_around(&mut self, value: impl Into<bool>)
set_wrapAround(bool) overload
Sourcepub fn get_select_on_up(&mut self) -> Selectable
pub fn get_select_on_up(&mut self) -> Selectable
get_selectOnUp() overload
Sourcepub fn set_select_on_up(&mut self, value: impl Into<Selectable>)
pub fn set_select_on_up(&mut self, value: impl Into<Selectable>)
set_selectOnUp(crate::unity_engine::ui::selectable::Selectable) overload
Sourcepub fn get_select_on_down(&mut self) -> Selectable
pub fn get_select_on_down(&mut self) -> Selectable
get_selectOnDown() overload
Sourcepub fn set_select_on_down(&mut self, value: impl Into<Selectable>)
pub fn set_select_on_down(&mut self, value: impl Into<Selectable>)
set_selectOnDown(crate::unity_engine::ui::selectable::Selectable) overload
Sourcepub fn get_select_on_left(&mut self) -> Selectable
pub fn get_select_on_left(&mut self) -> Selectable
get_selectOnLeft() overload
Sourcepub fn set_select_on_left(&mut self, value: impl Into<Selectable>)
pub fn set_select_on_left(&mut self, value: impl Into<Selectable>)
set_selectOnLeft(crate::unity_engine::ui::selectable::Selectable) overload
Sourcepub fn get_select_on_right(&mut self) -> Selectable
pub fn get_select_on_right(&mut self) -> Selectable
get_selectOnRight() overload
Sourcepub fn set_select_on_right(&mut self, value: impl Into<Selectable>)
pub fn set_select_on_right(&mut self, value: impl Into<Selectable>)
set_selectOnRight(crate::unity_engine::ui::selectable::Selectable) overload
Sourcepub fn equals(&mut self, other: impl Into<Navigation>) -> bool
pub fn equals(&mut self, other: impl Into<Navigation>) -> bool
Equals(crate::unity_engine::ui::navigation::Navigation) overload
pub fn get_mode_method_info() -> &'static MethodInfo
pub fn set_mode_method_info() -> &'static MethodInfo
pub fn get_wrap_around_method_info() -> &'static MethodInfo
pub fn set_wrap_around_method_info() -> &'static MethodInfo
pub fn get_select_on_up_method_info() -> &'static MethodInfo
pub fn set_select_on_up_method_info() -> &'static MethodInfo
pub fn get_select_on_down_method_info() -> &'static MethodInfo
pub fn set_select_on_down_method_info() -> &'static MethodInfo
pub fn get_select_on_left_method_info() -> &'static MethodInfo
pub fn set_select_on_left_method_info() -> &'static MethodInfo
pub fn get_select_on_right_method_info() -> &'static MethodInfo
pub fn set_select_on_right_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
Trait Implementations§
Source§fn clone(&self) -> Navigation
fn clone(&self) -> Navigation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)