Struct xpcom::interfaces::nsIBidiKeyboard
[−]
[src]
#[repr(C)]pub struct nsIBidiKeyboard { /* fields omitted */ }
interface nsIBidiKeyboard : nsISupports
Methods
impl nsIBidiKeyboard
[src]
pub fn coerce<T: nsIBidiKeyboardCoerce>(&self) -> &T
[src]
Cast this nsIBidiKeyboard
to one of its base interfaces.
impl nsIBidiKeyboard
[src]
pub unsafe fn Reset(&self) -> nsresult
[src]
/**
* Inspects the installed keyboards and resets the bidi keyboard state
*/
void reset ();
pub unsafe fn IsLangRTL(&self, _retval: *mut bool) -> nsresult
[src]
/**
* Determines if the current keyboard language is right-to-left
* @throws NS_ERROR_FAILURE if no right-to-left keyboards are installed
*/
boolean isLangRTL ();
pub unsafe fn GetHaveBidiKeyboards(
&self,
aHaveBidiKeyboards: *mut bool
) -> nsresult
[src]
&self,
aHaveBidiKeyboards: *mut bool
) -> nsresult
/**
* Determines whether the system has at least one keyboard of each direction
* installed.
*
* @throws NS_ERROR_NOT_IMPLEMENTED if the widget layer does not provide this
* information.
*/
readonly attribute boolean haveBidiKeyboards;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIBidiKeyboard
[src]
const IID: nsIID
IID: nsIID = nsID(680373796, 30434, 17315, [190, 254, 157, 159, 171, 232, 1, 78])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIBidiKeyboard
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIBidiKeyboard
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.