Enum workflow_terminal::terminal::TargetElement
source · pub enum TargetElement {
Body,
Element(Element),
TagName(String),
Id(String),
}
Expand description
Indicates the target element to which the Terminal instance should be bound to in DOM (WASM-browser only)
Variants§
Body
Bind to the document body
Element(Element)
Bind to a specific supplied web_sys::Element
TagName(String)
Bind to the element with a specific tag name
Id(String)
Bind to the element with a specific id
Auto Trait Implementations§
impl RefUnwindSafe for TargetElement
impl !Send for TargetElement
impl !Sync for TargetElement
impl Unpin for TargetElement
impl UnwindSafe for TargetElement
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