Struct gsk4::RenderNode
source · [−]#[repr(transparent)]pub struct RenderNode { /* private fields */ }
Implementations
sourceimpl RenderNode
impl RenderNode
sourceimpl RenderNode
impl RenderNode
pub fn is<T: IsRenderNode>(&self) -> bool
pub fn type_(&self) -> Type
pub fn deserialize(bytes: &Bytes) -> Option<Self>
pub fn deserialize_with_error_func<P: FnMut(&ParseLocation, &ParseLocation, &Error)>(
bytes: &Bytes,
error_func: P
) -> Option<Self>
pub fn downcast<T: IsRenderNode>(self) -> Result<T, Self>
pub fn downcast_ref<T: IsRenderNode>(&self) -> Option<&T>
Trait Implementations
sourceimpl AsRef<RenderNode> for BlendNode
impl AsRef<RenderNode> for BlendNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for BlurNode
impl AsRef<RenderNode> for BlurNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for DebugNode
impl AsRef<RenderNode> for DebugNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for GLShaderNode
impl AsRef<RenderNode> for GLShaderNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for InsetShadowNode
impl AsRef<RenderNode> for InsetShadowNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for LinearGradientNode
impl AsRef<RenderNode> for LinearGradientNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for OpacityNode
impl AsRef<RenderNode> for OpacityNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for OutsetShadowNode
impl AsRef<RenderNode> for OutsetShadowNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for RadialGradientNode
impl AsRef<RenderNode> for RadialGradientNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for RepeatNode
impl AsRef<RenderNode> for RepeatNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for RepeatingLinearGradientNode
impl AsRef<RenderNode> for RepeatingLinearGradientNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for RepeatingRadialGradientNode
impl AsRef<RenderNode> for RepeatingRadialGradientNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for BorderNode
impl AsRef<RenderNode> for BorderNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for RoundedClipNode
impl AsRef<RenderNode> for RoundedClipNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ShadowNode
impl AsRef<RenderNode> for ShadowNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for TextNode
impl AsRef<RenderNode> for TextNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for TextureNode
impl AsRef<RenderNode> for TextureNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for TransformNode
impl AsRef<RenderNode> for TransformNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for CairoNode
impl AsRef<RenderNode> for CairoNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ClipNode
impl AsRef<RenderNode> for ClipNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ColorMatrixNode
impl AsRef<RenderNode> for ColorMatrixNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ColorNode
impl AsRef<RenderNode> for ColorNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ConicGradientNode
impl AsRef<RenderNode> for ConicGradientNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for ContainerNode
impl AsRef<RenderNode> for ContainerNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RenderNode> for CrossFadeNode
impl AsRef<RenderNode> for CrossFadeNode
sourcefn as_ref(&self) -> &RenderNode
fn as_ref(&self) -> &RenderNode
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for RenderNode
impl Clone for RenderNode
sourceimpl Debug for RenderNode
impl Debug for RenderNode
sourceimpl Display for RenderNode
impl Display for RenderNode
sourceimpl StaticType for RenderNode
impl StaticType for RenderNode
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for RenderNode
impl !Send for RenderNode
impl !Sync for RenderNode
impl Unpin for RenderNode
impl UnwindSafe for RenderNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more