pub struct IFrnMetalRenderingSession { /* private fields */ }Implementations§
Source§impl IFrnMetalRenderingSession
impl IFrnMetalRenderingSession
Sourcepub fn from_impl<T: IFrnMetalRenderingSessionImpl + 'static>(
value: T,
) -> ComPtr<IFrnMetalRenderingSession>
pub fn from_impl<T: IFrnMetalRenderingSessionImpl + 'static>( value: T, ) -> ComPtr<IFrnMetalRenderingSession>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_pixel_size(&self) -> Result<FrnPixelSize, HResult>
pub fn get_pixel_size(&self) -> Result<FrnPixelSize, HResult>
IFrnMetalRenderingSession::GetPixelSize
Sourcepub fn get_scaling(&self) -> f64
pub fn get_scaling(&self) -> f64
IFrnMetalRenderingSession::GetScaling
Sourcepub fn get_texture(&self) -> *mut c_void
pub fn get_texture(&self) -> *mut c_void
IFrnMetalRenderingSession::GetTexture
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnMetalRenderingSession
impl Deref for IFrnMetalRenderingSession
Source§impl<T: IFrnMetalRenderingSessionImpl> ImplementedBy<T> for IFrnMetalRenderingSession
impl<T: IFrnMetalRenderingSessionImpl> ImplementedBy<T> for IFrnMetalRenderingSession
const VTBL: &'static IFrnMetalRenderingSessionVtbl
Source§impl Interface for IFrnMetalRenderingSession
impl Interface for IFrnMetalRenderingSession
type Vtbl = IFrnMetalRenderingSessionVtbl
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 IFrnMetalRenderingSession
impl !Sync for IFrnMetalRenderingSession
impl Freeze for IFrnMetalRenderingSession
impl RefUnwindSafe for IFrnMetalRenderingSession
impl Unpin for IFrnMetalRenderingSession
impl UnsafeUnpin for IFrnMetalRenderingSession
impl UnwindSafe for IFrnMetalRenderingSession
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