pub struct ChildNode<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> ChildNode<'a>
impl<'a> ChildNode<'a>
pub const VT_VALUE_TYPE: VOffsetT = 4
pub const VT_VALUE: VOffsetT = 6
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args ChildNodeArgs, ) -> WIPOffset<ChildNode<'bldr>>
pub fn value_type(&self) -> ChildUnion
pub fn value(&self) -> Option<Table<'a>>
pub fn value_as_container(&self) -> Option<Container<'a>>
pub fn value_as_surface(&self) -> Option<Surface<'a>>
pub fn value_as_text_node(&self) -> Option<TextNode<'a>>
pub fn value_as_media_node(&self) -> Option<MediaNode<'a>>
pub fn value_as_state_machine(&self) -> Option<StateMachine<'a>>
pub fn value_as_data_node(&self) -> Option<DataNode<'a>>
pub fn value_as_compute_node(&self) -> Option<ComputeNode<'a>>
pub fn value_as_effect_node(&self) -> Option<EffectNode<'a>>
pub fn value_as_context_node(&self) -> Option<ContextNode<'a>>
pub fn value_as_animation_transition(&self) -> Option<AnimationTransition<'a>>
pub fn value_as_sequence(&self) -> Option<Sequence<'a>>
pub fn value_as_gesture_handler(&self) -> Option<GestureHandler<'a>>
pub fn value_as_scroll_binding(&self) -> Option<ScrollBinding<'a>>
pub fn value_as_physics_body(&self) -> Option<PhysicsBody<'a>>
pub fn value_as_route_map(&self) -> Option<RouteMap<'a>>
pub fn value_as_semantic_node(&self) -> Option<SemanticNode<'a>>
pub fn value_as_live_region(&self) -> Option<LiveRegion<'a>>
pub fn value_as_focus_trap(&self) -> Option<FocusTrap<'a>>
pub fn value_as_theme_node(&self) -> Option<ThemeNode<'a>>
pub fn value_as_personalization_slot(&self) -> Option<PersonalizationSlot<'a>>
pub fn value_as_responsive_rule(&self) -> Option<ResponsiveRule<'a>>
pub fn value_as_action_node(&self) -> Option<ActionNode<'a>>
pub fn value_as_subscription_node(&self) -> Option<SubscriptionNode<'a>>
pub fn value_as_auth_context_node(&self) -> Option<AuthContextNode<'a>>
pub fn value_as_content_slot(&self) -> Option<ContentSlot<'a>>
pub fn value_as_rich_text_node(&self) -> Option<RichTextNode<'a>>
pub fn value_as_form_node(&self) -> Option<FormNode<'a>>
Trait Implementations§
Source§impl Verifiable for ChildNode<'_>
impl Verifiable for ChildNode<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for ChildNode<'a>
impl<'a> StructuralPartialEq for ChildNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for ChildNode<'a>
impl<'a> RefUnwindSafe for ChildNode<'a>
impl<'a> Send for ChildNode<'a>
impl<'a> Sync for ChildNode<'a>
impl<'a> Unpin for ChildNode<'a>
impl<'a> UnsafeUnpin for ChildNode<'a>
impl<'a> UnwindSafe for ChildNode<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more