AccessibilityRole

Struct AccessibilityRole 

pub struct AccessibilityRole { /* private fields */ }

Implementations§

§

impl AccessibilityRole

pub const UNKNOWN: AccessibilityRole

Godot enumerator name: ROLE_UNKNOWN

pub const DEFAULT_BUTTON: AccessibilityRole

Godot enumerator name: ROLE_DEFAULT_BUTTON

pub const AUDIO: AccessibilityRole

Godot enumerator name: ROLE_AUDIO

pub const VIDEO: AccessibilityRole

Godot enumerator name: ROLE_VIDEO

pub const STATIC_TEXT: AccessibilityRole

Godot enumerator name: ROLE_STATIC_TEXT

pub const CONTAINER: AccessibilityRole

Godot enumerator name: ROLE_CONTAINER

pub const PANEL: AccessibilityRole

Godot enumerator name: ROLE_PANEL

pub const BUTTON: AccessibilityRole

Godot enumerator name: ROLE_BUTTON

Godot enumerator name: ROLE_LINK

pub const CHECK_BOX: AccessibilityRole

Godot enumerator name: ROLE_CHECK_BOX

pub const RADIO_BUTTON: AccessibilityRole

Godot enumerator name: ROLE_RADIO_BUTTON

pub const CHECK_BUTTON: AccessibilityRole

Godot enumerator name: ROLE_CHECK_BUTTON

pub const SCROLL_BAR: AccessibilityRole

Godot enumerator name: ROLE_SCROLL_BAR

pub const SCROLL_VIEW: AccessibilityRole

Godot enumerator name: ROLE_SCROLL_VIEW

pub const SPLITTER: AccessibilityRole

Godot enumerator name: ROLE_SPLITTER

pub const SLIDER: AccessibilityRole

Godot enumerator name: ROLE_SLIDER

pub const SPIN_BUTTON: AccessibilityRole

Godot enumerator name: ROLE_SPIN_BUTTON

pub const PROGRESS_INDICATOR: AccessibilityRole

Godot enumerator name: ROLE_PROGRESS_INDICATOR

pub const TEXT_FIELD: AccessibilityRole

Godot enumerator name: ROLE_TEXT_FIELD

pub const MULTILINE_TEXT_FIELD: AccessibilityRole

Godot enumerator name: ROLE_MULTILINE_TEXT_FIELD

pub const COLOR_PICKER: AccessibilityRole

Godot enumerator name: ROLE_COLOR_PICKER

pub const TABLE: AccessibilityRole

Godot enumerator name: ROLE_TABLE

pub const CELL: AccessibilityRole

Godot enumerator name: ROLE_CELL

pub const ROW: AccessibilityRole

Godot enumerator name: ROLE_ROW

pub const ROW_GROUP: AccessibilityRole

Godot enumerator name: ROLE_ROW_GROUP

pub const ROW_HEADER: AccessibilityRole

Godot enumerator name: ROLE_ROW_HEADER

pub const COLUMN_HEADER: AccessibilityRole

Godot enumerator name: ROLE_COLUMN_HEADER

pub const TREE: AccessibilityRole

Godot enumerator name: ROLE_TREE

pub const TREE_ITEM: AccessibilityRole

Godot enumerator name: ROLE_TREE_ITEM

pub const LIST: AccessibilityRole

Godot enumerator name: ROLE_LIST

pub const LIST_ITEM: AccessibilityRole

Godot enumerator name: ROLE_LIST_ITEM

pub const LIST_BOX: AccessibilityRole

Godot enumerator name: ROLE_LIST_BOX

pub const LIST_BOX_OPTION: AccessibilityRole

Godot enumerator name: ROLE_LIST_BOX_OPTION

pub const TAB_BAR: AccessibilityRole

Godot enumerator name: ROLE_TAB_BAR

pub const TAB: AccessibilityRole

Godot enumerator name: ROLE_TAB

pub const TAB_PANEL: AccessibilityRole

Godot enumerator name: ROLE_TAB_PANEL

pub const MENU_BAR: AccessibilityRole

Godot enumerator name: ROLE_MENU_BAR

pub const MENU: AccessibilityRole

Godot enumerator name: ROLE_MENU

pub const MENU_ITEM: AccessibilityRole

Godot enumerator name: ROLE_MENU_ITEM

pub const MENU_ITEM_CHECK_BOX: AccessibilityRole

Godot enumerator name: ROLE_MENU_ITEM_CHECK_BOX

pub const MENU_ITEM_RADIO: AccessibilityRole

Godot enumerator name: ROLE_MENU_ITEM_RADIO

pub const IMAGE: AccessibilityRole

Godot enumerator name: ROLE_IMAGE

pub const WINDOW: AccessibilityRole

Godot enumerator name: ROLE_WINDOW

pub const TITLE_BAR: AccessibilityRole

Godot enumerator name: ROLE_TITLE_BAR

pub const DIALOG: AccessibilityRole

Godot enumerator name: ROLE_DIALOG

pub const TOOLTIP: AccessibilityRole

Godot enumerator name: ROLE_TOOLTIP

Trait Implementations§

§

impl Clone for AccessibilityRole

§

fn clone(&self) -> AccessibilityRole

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AccessibilityRole

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl EngineEnum for AccessibilityRole

§

fn try_from_ord(ord: i32) -> Option<AccessibilityRole>

§

fn ord(self) -> i32

Ordinal value of the enumerator, as specified in Godot. This is not necessarily unique.
§

fn as_str(&self) -> &'static str

The name of the enumerator, as it appears in Rust. Read more
§

fn godot_name(&self) -> &'static str

👎Deprecated: Moved to introspection API, see EngineEnum::all_constants() and EnumConstant::godot_name()
The equivalent name of the enumerator, as specified in Godot. Read more
§

fn values() -> &'static [AccessibilityRole]

Returns a slice of distinct enum values. Read more
§

fn all_constants() -> &'static [EnumConstant<AccessibilityRole>]

Returns metadata for all enum constants. Read more
§

fn from_ord(ord: i32) -> Self

§

impl FromGodot for AccessibilityRole

§

fn try_from_godot( via: <AccessibilityRole as GodotConvert>::Via, ) -> Result<AccessibilityRole, ConvertError>

Converts the Godot representation to this type, returning Err on failure.
§

fn from_godot(via: Self::Via) -> Self

⚠️ Converts the Godot representation to this type. Read more
§

fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>

Performs the conversion from a Variant, returning Err on failure.
§

fn from_variant(variant: &Variant) -> Self

⚠️ Performs the conversion from a Variant. Read more
§

impl GodotConvert for AccessibilityRole

§

type Via = i32

The type through which Self is represented in Godot.
§

impl Hash for AccessibilityRole

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for AccessibilityRole

§

fn eq(&self, other: &AccessibilityRole) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl ToGodot for AccessibilityRole

§

type Pass = ByValue

Whether arguments of this type are passed by value or by reference. Read more
§

fn to_godot(&self) -> <AccessibilityRole as GodotConvert>::Via

Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
§

fn to_godot_owned(&self) -> Self::Via
where Self::Via: Clone,

Converts this type to owned Godot representation. Read more
§

fn to_variant(&self) -> Variant

Converts this type to a Variant.
§

impl Copy for AccessibilityRole

§

impl Eq for AccessibilityRole

§

impl StructuralPartialEq for AccessibilityRole

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsArg<T> for T
where T: ToGodot<Pass = ByValue>,

§

fn into_arg<'arg>(self) -> CowArg<'arg, T>
where T: 'arg,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.