#[non_exhaustive]pub struct Object {Show 34 fields
pub data_map: DataMap,
pub data: Option<Cow<'static, str>>,
pub type_: Option<Cow<'static, str>>,
pub name: Option<Cow<'static, str>>,
pub form: Option<Cow<'static, str>>,
pub width: Option<Cow<'static, str>>,
pub height: Option<Cow<'static, str>>,
pub role: Option<Cow<'static, str>>,
pub aria_active_descendant_element: Option<Cow<'static, str>>,
pub aria_atomic: bool,
pub aria_braille_label: Option<Cow<'static, str>>,
pub aria_braille_role_description: Option<Cow<'static, str>>,
pub aria_busy: bool,
pub aria_controls_elements: Option<Cow<'static, str>>,
pub aria_current: Option<Cow<'static, str>>,
pub aria_described_by_elements: Option<Cow<'static, str>>,
pub aria_description: Option<Cow<'static, str>>,
pub aria_details_elements: Option<Cow<'static, str>>,
pub aria_disabled: bool,
pub aria_drop_effect: Option<Cow<'static, str>>,
pub aria_error_message_elements: Option<Cow<'static, str>>,
pub aria_expanded: bool,
pub aria_flow_to_elements: Option<Cow<'static, str>>,
pub aria_grabbed: bool,
pub aria_has_popup: Option<Cow<'static, str>>,
pub aria_hidden: bool,
pub aria_invalid: Option<Cow<'static, str>>,
pub aria_key_shortcuts: Option<Cow<'static, str>>,
pub aria_label: Option<Cow<'static, str>>,
pub aria_labelled_by_elements: Option<Cow<'static, str>>,
pub aria_live: Option<Cow<'static, str>>,
pub aria_owns_elements: Option<Cow<'static, str>>,
pub aria_relevant: Option<Cow<'static, str>>,
pub aria_role_description: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <object>
element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.data_map: DataMap
§data: Option<Cow<'static, str>>
Address of the resource
type_: Option<Cow<'static, str>>
Type of embedded resource
name: Option<Cow<'static, str>>
Name of content navigable
form: Option<Cow<'static, str>>
Associates the element with a form element
width: Option<Cow<'static, str>>
Horizontal dimension
height: Option<Cow<'static, str>>
Vertical dimension
role: Option<Cow<'static, str>>
Describes the role(s) the current element plays in the context of the document.
aria_active_descendant_element: Option<Cow<'static, str>>
Identifies the currently active element when DOM focus is on a composite widget, combobox, textbox, group, or application.
aria_atomic: bool
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
aria_braille_label: Option<Cow<'static, str>>
Defines a string value that labels the current element, which is intended to be converted into Braille. See related aria-label.
aria_braille_role_description: Option<Cow<'static, str>>
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. See related aria-roledescription.
aria_busy: bool
Indicates an element is being modified and that assistive technologies could wait until the modifications are complete before exposing them to the user.
aria_controls_elements: Option<Cow<'static, str>>
Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.
aria_current: Option<Cow<'static, str>>
Indicates the element that represents the current item within a container or set of related elements.
aria_described_by_elements: Option<Cow<'static, str>>
Identifies the element (or elements) that describes the object. See related aria-labelledby and aria-description.
aria_description: Option<Cow<'static, str>>
Defines a string value that describes or annotates the current element. See related aria-describedby.
aria_details_elements: Option<Cow<'static, str>>
Identifies the element (or elements) that provide additional information related to the object. See related aria-describedby.
aria_disabled: bool
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. See related aria-hidden and aria-readonly.
aria_drop_effect: Option<Cow<'static, str>>
[Deprecated in ARIA 1.1] Indicates what functions can be performed when a dragged object is released on the drop target.
aria_error_message_elements: Option<Cow<'static, str>>
Identifies the element (or elements) that provides an error message for an object. See related aria-invalid and aria-describedby.
aria_expanded: bool
Indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
aria_flow_to_elements: Option<Cow<'static, str>>
Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order.
aria_grabbed: bool
[Deprecated in ARIA 1.1] Indicates an element’s “grabbed” state in a drag-and-drop operation.
aria_has_popup: Option<Cow<'static, str>>
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Indicates whether the element is exposed to an accessibility API. See related aria-disabled.
aria_invalid: Option<Cow<'static, str>>
Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.
aria_key_shortcuts: Option<Cow<'static, str>>
Defines keyboard shortcuts that an author has implemented to activate or give focus to an element.
aria_label: Option<Cow<'static, str>>
Defines a string value that labels the current element. See related aria-labelledby.
aria_labelled_by_elements: Option<Cow<'static, str>>
Identifies the element (or elements) that labels the current element. See related aria-label and aria-describedby.
aria_live: Option<Cow<'static, str>>
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
aria_owns_elements: Option<Cow<'static, str>>
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related aria-controls.
aria_relevant: Option<Cow<'static, str>>
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related aria-atomic.
aria_role_description: Option<Cow<'static, str>>
Defines a human-readable, author-localized description for the role of an element.