pub struct DummyWeb;
Implementations
Trait Implementations
sourceimpl WebSystem for DummyWeb
impl WebSystem for DummyWeb
sourcefn create_view(
&self,
x: f32,
y: f32,
width: f32,
height: f32
) -> Box<dyn WebView>
fn create_view(
&self,
x: f32,
y: f32,
width: f32,
height: f32
) -> Box<dyn WebView>
Creates a blank WebView with the given viewport bounds, in pixels. Fails with an assertion if this environment doesn’t support WebViews. Read more
sourcefn is_supported(&self) -> bool
fn is_supported(&self) -> bool
True if the environment supports WebViews. Note that this will always be false Read more
sourcefn open_browser(&self, url: String)
fn open_browser(&self, url: String)
Open a new browser window or tab to the given URL. This operation is always supported. URI schemes such as mailto: are also available. On mobile, sms: and tel: are supported. On Android, market: is supported. Read more
Auto Trait Implementations
impl RefUnwindSafe for DummyWeb
impl Send for DummyWeb
impl Sync for DummyWeb
impl Unpin for DummyWeb
impl UnwindSafe for DummyWeb
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.