pub struct IFrnClipboardDataValue { /* private fields */ }Implementations§
Source§impl IFrnClipboardDataValue
impl IFrnClipboardDataValue
Sourcepub fn from_impl<T: IFrnClipboardDataValueImpl + 'static>(
value: T,
) -> ComPtr<IFrnClipboardDataValue>
pub fn from_impl<T: IFrnClipboardDataValueImpl + 'static>( value: T, ) -> ComPtr<IFrnClipboardDataValue>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn as_string(&self) -> Option<ComPtr<IFrnString>>
pub fn as_string(&self) -> Option<ComPtr<IFrnString>>
IFrnClipboardDataValue::AsString
Sourcepub fn get_byte_length(&self) -> c_long
pub fn get_byte_length(&self) -> c_long
IFrnClipboardDataValue::GetByteLength
Sourcepub unsafe fn copy_bytes_to(&self, buffer: *mut c_void)
pub unsafe fn copy_bytes_to(&self, buffer: *mut c_void)
IFrnClipboardDataValue::CopyBytesTo
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnClipboardDataValue
impl Deref for IFrnClipboardDataValue
Source§impl<T: IFrnClipboardDataValueImpl> ImplementedBy<T> for IFrnClipboardDataValue
impl<T: IFrnClipboardDataValueImpl> ImplementedBy<T> for IFrnClipboardDataValue
const VTBL: &'static IFrnClipboardDataValueVtbl
Source§impl Interface for IFrnClipboardDataValue
impl Interface for IFrnClipboardDataValue
type Vtbl = IFrnClipboardDataValueVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnClipboardDataValue
impl !Sync for IFrnClipboardDataValue
impl Freeze for IFrnClipboardDataValue
impl RefUnwindSafe for IFrnClipboardDataValue
impl Unpin for IFrnClipboardDataValue
impl UnsafeUnpin for IFrnClipboardDataValue
impl UnwindSafe for IFrnClipboardDataValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more