[−][src]Enum azul_core::dom::NodeType
List of core DOM node types built-into by azul
.
Variants
Regular div with no particular type of data attached
Same as div, but only for the root node
Label(DomString)
A small label that can be (optionally) be selectable with the mouse
Text(TextId)
Larger amount of text, that has to be cached
Image(ImageId)
An image that is rendered by WebRender. The id is acquired by the
AppState::add_image()
function
GlTexture((GlCallback, RefAny))
OpenGL texture. The Svg
widget deserizalizes itself into a texture
Equality and Hash values are only checked by the OpenGl texture ID,
Azul does not check that the contents of two textures are the same
IFrame((IFrameCallback, RefAny))
DOM that gets passed its width / height during the layout
Implementations
impl NodeType
[src]
pub fn get_path(&self) -> NodeTypePath
[src]
Trait Implementations
impl Clone for NodeType
[src]
impl Debug for NodeType
[src]
impl Eq for NodeType
[src]
impl FromIterator<NodeType> for Dom
[src]
fn from_iter<I: IntoIterator<Item = NodeType>>(iter: I) -> Self
[src]
impl Hash for NodeType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<NodeType> for NodeType
[src]
impl StructuralEq for NodeType
[src]
impl StructuralPartialEq for NodeType
[src]
Auto Trait Implementations
impl !RefUnwindSafe for NodeType
impl !Send for NodeType
impl !Sync for NodeType
impl Unpin for NodeType
impl !UnwindSafe for NodeType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,