pub struct ViewRootArgs<'a> {
pub node_id: Option<WIPOffset<&'a str>>,
pub children: Option<WIPOffset<Vector<'a, ForwardsUOffset<ChildNode<'a>>>>>,
pub width: Option<WIPOffset<Length<'a>>>,
pub height: Option<WIPOffset<Length<'a>>>,
pub background: Option<&'a Color>,
pub document_language: Option<WIPOffset<&'a str>>,
pub text_direction: TextDirection,
pub semantic_nodes: Option<WIPOffset<Vector<'a, ForwardsUOffset<SemanticNode<'a>>>>>,
pub metadata: Option<WIPOffset<PageMetadata<'a>>>,
}Fields§
§node_id: Option<WIPOffset<&'a str>>§children: Option<WIPOffset<Vector<'a, ForwardsUOffset<ChildNode<'a>>>>>§width: Option<WIPOffset<Length<'a>>>§height: Option<WIPOffset<Length<'a>>>§background: Option<&'a Color>§document_language: Option<WIPOffset<&'a str>>§text_direction: TextDirection§semantic_nodes: Option<WIPOffset<Vector<'a, ForwardsUOffset<SemanticNode<'a>>>>>§metadata: Option<WIPOffset<PageMetadata<'a>>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ViewRootArgs<'a>
impl<'a> RefUnwindSafe for ViewRootArgs<'a>
impl<'a> Send for ViewRootArgs<'a>
impl<'a> Sync for ViewRootArgs<'a>
impl<'a> Unpin for ViewRootArgs<'a>
impl<'a> UnsafeUnpin for ViewRootArgs<'a>
impl<'a> UnwindSafe for ViewRootArgs<'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