Struct rdom::sandbox::Builder [−][src]
pub struct Builder<R: Buildable> { /* fields omitted */ }
A Builder
Implementations
impl Builder<AttributeNodeArc>
[src]
pub fn build(&self, storage: AttributeNodeStorage) -> AttributeNodeArc
[src]
Builds a new Attribute node with the given storage value
impl Builder<TextNodeArc>
[src]
pub fn build(&self, storage: TextNodeStorage) -> TextNodeArc
[src]
Builds a new Text node with the given storage value
impl Builder<CDataSectionNodeArc>
[src]
pub fn build(&self, storage: CDataSectionNodeStorage) -> CDataSectionNodeArc
[src]
Builds a new CDataSection node with the given storage value
impl Builder<ProcessingInstructionNodeArc>
[src]
pub fn build(
&self,
storage: ProcessingInstructionNodeStorage
) -> ProcessingInstructionNodeArc
[src]
&self,
storage: ProcessingInstructionNodeStorage
) -> ProcessingInstructionNodeArc
Builds a new ProcessingInstruction node with the given storage value
impl Builder<CommentNodeArc>
[src]
pub fn build(&self, storage: CommentNodeStorage) -> CommentNodeArc
[src]
Builds a new Comment node with the given storage value
impl Builder<DocumentNodeArc>
[src]
pub fn build(&self, storage: DocumentNodeStorage) -> DocumentNodeArc
[src]
Builds a new Document node with the given storage value
impl Builder<DocumentTypeNodeArc>
[src]
pub fn build(&self, storage: DocumentTypeNodeStorage) -> DocumentTypeNodeArc
[src]
Builds a new DocumentType node with the given storage value
impl Builder<DocumentFragmentNodeArc>
[src]
pub fn build(
&self,
storage: DocumentFragmentNodeStorage
) -> DocumentFragmentNodeArc
[src]
&self,
storage: DocumentFragmentNodeStorage
) -> DocumentFragmentNodeArc
Builds a new DocumentFragment node with the given storage value
impl Builder<ElementNodeArc>
[src]
pub fn build_html(
&self,
default_view: Weak<Window>
) -> ConcreteNodeArc<ElementNodeStorage>
[src]
&self,
default_view: Weak<Window>
) -> ConcreteNodeArc<ElementNodeStorage>
Builds a new HtmlHtmlElement node with a weak reference to its corresponding window
pub fn build_body(&self) -> ConcreteNodeArc<ElementNodeStorage>
[src]
Builds a new HtmlBodyElement node
pub fn build_button(&self) -> ConcreteNodeArc<ElementNodeStorage>
[src]
Builds a new HtmlButtonElement node
Auto Trait Implementations
impl<R> RefUnwindSafe for Builder<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Builder<R> where
R: Send,
R: Send,
impl<R> Sync for Builder<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Builder<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Builder<R> where
R: UnwindSafe,
R: UnwindSafe,
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,
pub 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, 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.
pub 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>,