Struct hgroup

Source
pub struct hgroup;
Expand description

A heading and related content.

Trait Implementations§

Source§

impl Clone for hgroup

Source§

fn clone(&self) -> hgroup

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for hgroup

Source§

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

Formats the value using the given formatter. Read more
Source§

impl GlobalAttributes for hgroup

Source§

const access_key: Attribute = Attribute

Used as a guide for creating a keyboard shortcut that activates or focuses the element.
Source§

const autocapitalize: Attribute = Attribute

The autocapitalization behavior to use when the text is edited through non-keyboard methods.
Source§

const autofocus: Attribute = Attribute

Indicates whether the element should be automatically focused when the page is loaded.
Source§

const class: Attribute = Attribute

The class of the element.
Source§

const contenteditable: Attribute = Attribute

Whether the element is editable.
Source§

const dir: Attribute = Attribute

The text directionality of the element.
Source§

const draggable: Attribute = Attribute

Whether the element is draggable.
Source§

const enterkeyhint: Attribute = Attribute

A hint as to what the enter key should do.
Source§

const hidden: Attribute = Attribute

Whether the element is hidden from view.
Source§

const id: Attribute = Attribute

A unique identifier for the element.
Source§

const inert: Attribute = Attribute

Mark an element and its children as inert, disabling interaction.
Source§

const inputmode: Attribute = Attribute

Specifies what kind of input mechanism would be most helpful for users entering content.
Source§

const is: Attribute = Attribute

Specify which element this is a custom variant of.
Source§

const itemid: Attribute = Attribute

A global identifier for the item.
Source§

const itemprop: Attribute = Attribute

A property that the item has.
Source§

const itemref: Attribute = Attribute

A list of additional elements to crawl to find the name-value pairs of the item.
Source§

const itemscope: Attribute = Attribute

Creates a new item, a group of name-value pairs.
Source§

const itemtype: Attribute = Attribute

The item types of the item.
Source§

const lang: Attribute = Attribute

The language of the element.
Source§

const nonce: Attribute = Attribute

A cryptographic nonce (“number used once”) which can be used by Content Security Policy to determine whether or not a given fetch will be allowed to proceed.
Source§

const popover: Attribute = Attribute

When specified, the element won’t be rendered until it becomes shown, at which point it will be rendered on top of other page content.
Source§

const slot: Attribute = Attribute

The slot the element is inserted in.
Source§

const spellcheck: Attribute = Attribute

Whether the element is spellchecked or not.
Source§

const style: Attribute = Attribute

The CSS styling to apply to the element.
Source§

const tabindex: Attribute = Attribute

Customize the index of the element for sequential focus navigation.
Source§

const title: Attribute = Attribute

A text description of the element.
Source§

const translate: Attribute = Attribute

Whether the element is to be translated when the page is localized.
Source§

impl Copy for hgroup

Auto Trait Implementations§

§

impl Freeze for hgroup

§

impl RefUnwindSafe for hgroup

§

impl Send for hgroup

§

impl Sync for hgroup

§

impl Unpin for hgroup

§

impl UnwindSafe for hgroup

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
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> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> HtmxAttributes for T

Source§

const hx_get: Attribute = Attribute

Available on crate feature htmx only.
Issues a GET to the specified URL
Source§

const hx_post: Attribute = Attribute

Available on crate feature htmx only.
Issues a POST to the specified URL
Source§

const hx_on: AttributeNamespace = AttributeNamespace

Available on crate feature htmx only.
Handle events with inline scripts on elements
Source§

const hx_push_url: Attribute = Attribute

Available on crate feature htmx only.
Push a URL into the browser location bar to create history
Source§

const hx_select: Attribute = Attribute

Available on crate feature htmx only.
Select content to swap in from a response
Source§

const hx_select_oob: Attribute = Attribute

Available on crate feature htmx only.
Select content to swap in from a response, somewhere other than the target (out of band)
Source§

const hx_swap: Attribute = Attribute

Available on crate feature htmx only.
Controls how content will swap in (outerHTML, beforeend, afterend, …)
Source§

const hx_swap_oob: Attribute = Attribute

Available on crate feature htmx only.
Mark element to swap in from a response (out of band)
Source§

const hx_target: Attribute = Attribute

Available on crate feature htmx only.
Specifies the target element to be swapped
Source§

const hx_trigger: Attribute = Attribute

Available on crate feature htmx only.
Specifies the event that triggers the request
Source§

const hx_vals: Attribute = Attribute

Available on crate feature htmx only.
Add values to submit with the request (JSON format)
Source§

const hx_boost: Attribute = Attribute

Available on crate feature htmx only.
Add progressive enhancement for links and forms
Source§

const hx_confirm: Attribute = Attribute

Available on crate feature htmx only.
Shows a confirm() dialog before issuing a request
Source§

const hx_delete: Attribute = Attribute

Available on crate feature htmx only.
Issues a DELETE to the specified URL
Source§

const hx_disable: Attribute = Attribute

Available on crate feature htmx only.
Disables htmx processing for the given node and any children nodes
Source§

const hx_disabled_elt: Attribute = Attribute

Available on crate feature htmx only.
Adds the disabled attribute to the specified elements while a request is in flight
Source§

const hx_disinherit: Attribute = Attribute

Available on crate feature htmx only.
Control and disable automatic attribute inheritance for child nodes
Source§

const hx_encoding: Attribute = Attribute

Available on crate feature htmx only.
Changes the request encoding type
Source§

const hx_ext: Attribute = Attribute

Available on crate feature htmx only.
Extensions to use for this element
Source§

const hx_headers: Attribute = Attribute

Available on crate feature htmx only.
Adds to the headers that will be submitted with the request
Source§

const hx_history: Attribute = Attribute

Available on crate feature htmx only.
Prevent sensitive data being saved to the history cache
Source§

const hx_history_elt: Attribute = Attribute

Available on crate feature htmx only.
The element to snapshot and restore during history navigation
Source§

const hx_include: Attribute = Attribute

Available on crate feature htmx only.
Include additional data in requests
Source§

const hx_indicator: Attribute = Attribute

Available on crate feature htmx only.
The element to put the htmx-request class on during the request
Source§

const hx_inherit: Attribute = Attribute

Available on crate feature htmx only.
Control and enable automatic attribute inheritance for child nodes if it has been disabled by default
Source§

const hx_params: Attribute = Attribute

Available on crate feature htmx only.
Filters the parameters that will be submitted with a request
Source§

const hx_patch: Attribute = Attribute

Available on crate feature htmx only.
Issues a PATCH to the specified URL
Source§

const hx_preserve: Attribute = Attribute

Available on crate feature htmx only.
Specifies elements to keep unchanged between requests
Source§

const hx_prompt: Attribute = Attribute

Available on crate feature htmx only.
Shows a prompt() before submitting a request
Source§

const hx_put: Attribute = Attribute

Available on crate feature htmx only.
Issues a PUT to the specified URL
Source§

const hx_replace_url: Attribute = Attribute

Available on crate feature htmx only.
Replace the URL in the browser location bar
Source§

const hx_request: Attribute = Attribute

Available on crate feature htmx only.
Configures various aspects of the request
Source§

const hx_sync: Attribute = Attribute

Available on crate feature htmx only.
Control how requests made by different elements are synchronized
Source§

const hx_validate: Attribute = Attribute

Available on crate feature htmx only.
Force elements to validate themselves before a request
Source§

const hx_vars: Attribute = Attribute

Available on crate feature htmx only.
Adds values dynamically to the parameters to submit with the request (deprecated, please use hx-vals)
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T