Struct script::dom::bluetoothuuid::BluetoothUUID
source · #[repr(C)]pub struct BluetoothUUID {
reflector_: Reflector,
}
Fields
reflector_: Reflector
Implementations
sourceimpl BluetoothUUID
impl BluetoothUUID
fn __assert_parent_type(&self)
sourceimpl BluetoothUUID
impl BluetoothUUID
pub fn CanonicalUUID(_: &Window, alias: u32) -> DOMString
pub fn GetService(
_: &Window,
name: StringOrUnsignedLong
) -> Result<DOMString, Error>
pub fn GetCharacteristic(
_: &Window,
name: StringOrUnsignedLong
) -> Result<DOMString, Error>
pub fn GetDescriptor(
_: &Window,
name: StringOrUnsignedLong
) -> Result<DOMString, Error>
sourceimpl BluetoothUUID
impl BluetoothUUID
pub fn service(name: StringOrUnsignedLong) -> Result<DOMString, Error>
pub fn characteristic(name: StringOrUnsignedLong) -> Result<DOMString, Error>
pub fn descriptor(name: StringOrUnsignedLong) -> Result<DOMString, Error>
Trait Implementations
sourceimpl DomObject for BluetoothUUID
impl DomObject for BluetoothUUID
sourceimpl DomObjectWrap for BluetoothUUID
impl DomObjectWrap for BluetoothUUID
sourceconst WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::BluetoothUUIDBinding::BluetoothUUIDBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::bluetoothuuid::BluetoothUUID>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bluetoothuuid::BluetoothUUID>>}
const WRAP: unsafe fn(_: SafeJSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>> = {dom::bindings::codegen::Bindings::BluetoothUUIDBinding::BluetoothUUIDBinding::Wrap as for<'a> unsafe fn(script_runtime::JSContext, &'a dom::globalscope::GlobalScope, std::boxed::Box<dom::bluetoothuuid::BluetoothUUID>) -> dom::bindings::root::Root<dom::bindings::root::Dom<dom::bluetoothuuid::BluetoothUUID>>}
Function pointer to the general wrap function type
sourceimpl HasParent for BluetoothUUID
impl HasParent for BluetoothUUID
sourceimpl IDLInterface for BluetoothUUID
impl IDLInterface for BluetoothUUID
sourceimpl JSTraceable for BluetoothUUID
impl JSTraceable for BluetoothUUID
sourceimpl MallocSizeOf for BluetoothUUID
impl MallocSizeOf for BluetoothUUID
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself. Read more
sourceimpl MutDomObject for BluetoothUUID
impl MutDomObject for BluetoothUUID
sourceunsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector
sourceimpl PartialEq<BluetoothUUID> for BluetoothUUID
impl PartialEq<BluetoothUUID> for BluetoothUUID
sourcefn eq(&self, other: &BluetoothUUID) -> bool
fn eq(&self, other: &BluetoothUUID) -> bool
sourceimpl ToJSValConvertible for BluetoothUUID
impl ToJSValConvertible for BluetoothUUID
sourceunsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)
Convert
self
to a JSVal
. JSAPI failure causes a panic.Auto Trait Implementations
impl !RefUnwindSafe for BluetoothUUID
impl !Send for BluetoothUUID
impl !Sync for BluetoothUUID
impl Unpin for BluetoothUUID
impl UnwindSafe for BluetoothUUID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
sourcefn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
sourceimpl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
sourcefn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert