[−][src]Struct alcro::UIBuilder
Builder for constructing a UI instance.
Implementations
impl<'a> UIBuilder<'a>
[src]
pub fn new() -> Self
[src]
Default UI
pub fn run(&self) -> UI
[src]
Return the UI instance
pub fn content(&mut self, content: Content<'a>) -> &mut Self
[src]
Set the content (url or html text)
pub fn user_data_dir(&mut self, dir: &'a Path) -> &mut Self
[src]
Set the user data directory. By default it is a temporary directory.
pub fn size(&mut self, width: i32, height: i32) -> &mut Self
[src]
Set the window size
pub fn custom_args(&mut self, custom_args: &'a [&'a str]) -> &mut Self
[src]
Add custom arguments to spawn chrome with
Auto Trait Implementations
impl<'a> RefUnwindSafe for UIBuilder<'a>
impl<'a> Send for UIBuilder<'a>
impl<'a> Sync for UIBuilder<'a>
impl<'a> Unpin for UIBuilder<'a>
impl<'a> UnwindSafe for UIBuilder<'a>
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,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,