Skip to main content

Dom

Struct Dom 

Source
pub struct Dom;
Expand description

A Renderer that uses web-sys to manipulate DOM elements in the browser.

Implementations§

Source§

impl Dom

Source

pub fn intern(text: &str) -> &str

Source

pub fn create_element(tag: &str, namespace: Option<&str>) -> Element

Source

pub fn create_text_node(text: &str) -> Text

Source

pub fn create_placeholder() -> Comment

Source

pub fn set_text(node: &Text, text: &str)

Source

pub fn set_attribute(node: &Element, name: &str, value: &str)

Source

pub fn remove_attribute(node: &Element, name: &str)

Source

pub fn insert_node(parent: &Element, new_child: &Node, anchor: Option<&Node>)

Source

pub fn remove_node(parent: &Element, child: &Node) -> Option<Node>

Source

pub fn remove(node: &Node)

Source

pub fn get_parent(node: &Node) -> Option<Node>

Source

pub fn first_child(node: &Node) -> Option<Node>

Source

pub fn next_sibling(node: &Node) -> Option<Node>

Source

pub fn log_node(node: &Node)

Source

pub fn clear_children(parent: &Element)

Source

pub fn mount_before<M>(new_child: &mut M, before: &Node)
where M: Mountable,

Mounts the new child before the marker as its sibling.

§Panics

The default implementation panics if before does not have a parent crate::renderer::types::Element.

Source

pub fn try_mount_before<M>(new_child: &mut M, before: &Node) -> bool
where M: Mountable,

Tries to mount the new child before the marker as its sibling.

Returns false if the child did not have a valid parent.

Source

pub fn set_property(el: &Element, key: &str, value: &JsValue)

Source

pub fn add_event_listener( el: &Element, name: &str, cb: Box<dyn FnMut(JsValue)>, ) -> RemoveEventHandler<Element>

Source

pub fn add_event_listener_use_capture( el: &Element, name: &str, cb: Box<dyn FnMut(JsValue)>, ) -> RemoveEventHandler<Element>

Source

pub fn event_target<T>(ev: &JsValue) -> T
where T: CastFrom<Element>,

Source

pub fn add_event_listener_delegated( el: &Element, name: Cow<'static, str>, delegation_key: Cow<'static, str>, cb: Box<dyn FnMut(JsValue)>, ) -> RemoveEventHandler<Element>

Source

pub fn class_list(el: &Element) -> DomTokenList

Source

pub fn add_class(list: &DomTokenList, name: &str)

Source

pub fn remove_class(list: &DomTokenList, name: &str)

Source

pub fn style(el: &Element) -> CssStyleDeclaration

Source

pub fn set_css_property(style: &CssStyleDeclaration, name: &str, value: &str)

Source

pub fn remove_css_property(style: &CssStyleDeclaration, name: &str)

Source

pub fn set_inner_html(el: &Element, html: &str)

Source

pub fn get_template<V>() -> HtmlTemplateElement
where V: ToTemplate + 'static,

Source

pub fn clone_template(tpl: &HtmlTemplateElement) -> Element

Source

pub fn create_element_from_html(html: &str) -> Element

Trait Implementations§

Source§

impl<El, At, Ch, V> AriaAttributes<Dom, V> for HtmlElement<El, At, Ch>

Source§

fn aria_activedescendant( self, value: V, ) -> Self::Output<Attr<AriaActivedescendant, V>>

Identifies the currently active descendant of a composite widget.
Source§

fn aria_atomic(self, value: V) -> Self::Output<Attr<AriaAtomic, V>>

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.
Source§

fn aria_autocomplete(self, value: V) -> Self::Output<Attr<AriaAutocomplete, V>>

Indicates whether user input completion suggestions are provided.
Source§

fn aria_busy(self, value: V) -> Self::Output<Attr<AriaBusy, V>>

Indicates whether an element, and its subtree, are currently being updated.
Source§

fn aria_checked(self, value: V) -> Self::Output<Attr<AriaChecked, V>>

Indicates the current “checked” state of checkboxes, radio buttons, and other widgets.
Source§

fn aria_colcount(self, value: V) -> Self::Output<Attr<AriaColcount, V>>

Defines the number of columns in a table, grid, or treegrid.
Source§

fn aria_colindex(self, value: V) -> Self::Output<Attr<AriaColindex, V>>

Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid.
Source§

fn aria_colspan(self, value: V) -> Self::Output<Attr<AriaColspan, V>>

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
Source§

fn aria_controls(self, value: V) -> Self::Output<Attr<AriaControls, V>>

Identifies the element (or elements) whose contents or presence are controlled by the current element.
Source§

fn aria_current(self, value: V) -> Self::Output<Attr<AriaCurrent, V>>

Indicates the element that represents the current item within a container or set of related elements.
Source§

fn aria_describedby(self, value: V) -> Self::Output<Attr<AriaDescribedby, V>>

Identifies the element (or elements) that describes the object.
Source§

fn aria_description(self, value: V) -> Self::Output<Attr<AriaDescription, V>>

Defines a string value that describes or annotates the current element.
Source§

fn aria_details(self, value: V) -> Self::Output<Attr<AriaDetails, V>>

Identifies the element that provides additional information related to the object.
Source§

fn aria_disabled(self, value: V) -> Self::Output<Attr<AriaDisabled, V>>

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
Source§

fn aria_dropeffect(self, value: V) -> Self::Output<Attr<AriaDropeffect, V>>

Indicates what functions can be performed when a dragged object is released on the drop target.
Source§

fn aria_errormessage(self, value: V) -> Self::Output<Attr<AriaErrormessage, V>>

Defines the element that provides an error message related to the object.
Source§

fn aria_expanded(self, value: V) -> Self::Output<Attr<AriaExpanded, V>>

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Source§

fn aria_flowto(self, value: V) -> Self::Output<Attr<AriaFlowto, V>>

Identifies the next element (or elements) in an alternate reading order of content.
Source§

fn aria_grabbed(self, value: V) -> Self::Output<Attr<AriaGrabbed, V>>

Indicates an element’s “grabbed” state in a drag-and-drop operation.
Source§

fn aria_haspopup(self, value: V) -> Self::Output<Attr<AriaHaspopup, V>>

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Source§

fn aria_hidden(self, value: V) -> Self::Output<Attr<AriaHidden, V>>

Indicates whether the element is exposed to an accessibility API.
Source§

fn aria_invalid(self, value: V) -> Self::Output<Attr<AriaInvalid, V>>

Indicates the entered value does not conform to the format expected by the application.
Source§

fn aria_keyshortcuts(self, value: V) -> Self::Output<Attr<AriaKeyshortcuts, V>>

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Source§

fn aria_label(self, value: V) -> Self::Output<Attr<AriaLabel, V>>

Defines a string value that labels the current element.
Source§

fn aria_labelledby(self, value: V) -> Self::Output<Attr<AriaLabelledby, V>>

Identifies the element (or elements) that labels the current element.
Source§

fn aria_live(self, value: V) -> Self::Output<Attr<AriaLive, V>>

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.
Source§

fn aria_modal(self, value: V) -> Self::Output<Attr<AriaModal, V>>

Indicates whether an element is modal when displayed.
Source§

fn aria_multiline(self, value: V) -> Self::Output<Attr<AriaMultiline, V>>

Indicates whether a text box accepts multiple lines of input or only a single line.
Source§

fn aria_multiselectable( self, value: V, ) -> Self::Output<Attr<AriaMultiselectable, V>>

Indicates that the user may select more than one item from the current selectable descendants.
Source§

fn aria_orientation(self, value: V) -> Self::Output<Attr<AriaOrientation, V>>

Indicates whether the element’s orientation is horizontal, vertical, or undefined.
Source§

fn aria_owns(self, value: V) -> Self::Output<Attr<AriaOwns, V>>

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.
Source§

fn aria_placeholder(self, value: V) -> Self::Output<Attr<AriaPlaceholder, V>>

Defines a short hint (a word or short phrase) intended to help the user with data entry when the control has no value.
Source§

fn aria_posinset(self, value: V) -> Self::Output<Attr<AriaPosinset, V>>

Defines an element’s number or position in the current set of listitems or treeitems.
Source§

fn aria_pressed(self, value: V) -> Self::Output<Attr<AriaPressed, V>>

Indicates the current “pressed” state of toggle buttons.
Source§

fn aria_readonly(self, value: V) -> Self::Output<Attr<AriaReadonly, V>>

Indicates that the element is not editable, but is otherwise operable.
Source§

fn aria_relevant(self, value: V) -> Self::Output<Attr<AriaRelevant, V>>

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
Source§

fn aria_required(self, value: V) -> Self::Output<Attr<AriaRequired, V>>

Indicates that user input is required on the element before a form may be submitted.
Source§

fn aria_roledescription( self, value: V, ) -> Self::Output<Attr<AriaRoledescription, V>>

Defines a human-readable, author-localized description for the role of an element.
Source§

fn aria_rowcount(self, value: V) -> Self::Output<Attr<AriaRowcount, V>>

Defines the total number of rows in a table, grid, or treegrid.
Source§

fn aria_rowindex(self, value: V) -> Self::Output<Attr<AriaRowindex, V>>

Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid.
Source§

fn aria_rowspan(self, value: V) -> Self::Output<Attr<AriaRowspan, V>>

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
Source§

fn aria_selected(self, value: V) -> Self::Output<Attr<AriaSelected, V>>

Indicates the current “selected” state of various widgets.
Source§

fn aria_setsize(self, value: V) -> Self::Output<Attr<AriaSetsize, V>>

Defines the number of items in the current set of listitems or treeitems.
Source§

fn aria_sort(self, value: V) -> Self::Output<Attr<AriaSort, V>>

Indicates if items in a table or grid are sorted in ascending or descending order.
Source§

fn aria_valuemax(self, value: V) -> Self::Output<Attr<AriaValuemax, V>>

Defines the maximum allowed value for a range widget.
Source§

fn aria_valuemin(self, value: V) -> Self::Output<Attr<AriaValuemin, V>>

Defines the minimum allowed value for a range widget.
Source§

fn aria_valuenow(self, value: V) -> Self::Output<Attr<AriaValuenow, V>>

Defines the current value for a range widget.
Source§

fn aria_valuetext(self, value: V) -> Self::Output<Attr<AriaValuetext, V>>

Defines the human-readable text alternative of aria-valuenow for a range widget.
Source§

impl Clone for Dom

Source§

fn clone(&self) -> Dom

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for Dom

Source§

impl Debug for Dom

Source§

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

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

impl Eq for Dom

Source§

impl Hash for Dom

Source§

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
Source§

impl Ord for Dom

Source§

fn cmp(&self, other: &Dom) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Dom

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl PartialOrd for Dom

Source§

fn partial_cmp(&self, other: &Dom) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for Dom

Auto Trait Implementations§

§

impl Freeze for Dom

§

impl RefUnwindSafe for Dom

§

impl Send for Dom

§

impl Sync for Dom

§

impl Unpin for Dom

§

impl UnsafeUnpin for Dom

§

impl UnwindSafe for Dom

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Converts Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Converts &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Converts &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> DowncastSend for T
where T: Any + Send,

Source§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_sync(self: Box<T>) -> Box<dyn Any + Sync + Send>

Converts Box<Trait> (where Trait: DowncastSync) to Box<dyn Any + Send + Sync>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Converts Arc<Trait> (where Trait: DowncastSync) to Arc<Any>, which can then be downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

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

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<S> FromSample<S> for S

Source§

fn from_sample_(s: S) -> S

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

Source§

fn into_sample(self) -> T

Source§

impl<N> NodeTrait for N
where N: Copy + Ord + Hash,

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,

Source§

impl<T> SerializableAny for T
where T: 'static + Any + Clone + for<'a> Send + Sync,

Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> StorageAccess<T> for T

Source§

fn as_borrowed(&self) -> &T

Borrows the value.
Source§

fn into_taken(self) -> T

Takes the value.
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
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> ToSample<U> for T
where U: FromSample<T>,

Source§

fn to_sample_(self) -> U

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<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

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

Source§

fn vzip(self) -> V

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,

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