Type Alias script::dom::bindings::codegen::Bindings::WebGLRenderingContextBinding::GLboolean
source · pub type GLboolean = bool;
Trait Implementations§
source§impl From<EventBubbles> for bool
impl From<EventBubbles> for bool
source§fn from(bubbles: EventBubbles) -> Self
fn from(bubbles: EventBubbles) -> Self
Converts to this type from the input type.
source§impl From<EventCancelable> for bool
impl From<EventCancelable> for bool
source§fn from(bubbles: EventCancelable) -> Self
fn from(bubbles: EventCancelable) -> Self
Converts to this type from the input type.
source§impl FromJSValConvertible for bool
impl FromJSValConvertible for bool
source§unsafe fn from_jsval(
_cx: *mut JSContext,
val: Handle<'_, Value>,
_option: ()
) -> Result<ConversionResult<bool>, ()>
unsafe fn from_jsval( _cx: *mut JSContext, val: Handle<'_, Value>, _option: () ) -> Result<ConversionResult<bool>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.source§impl PartialEq<Value> for bool
impl PartialEq<Value> for bool
1.0.0 · source§impl PartialOrd<bool> for bool
impl PartialOrd<bool> for bool
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more