Struct windows::Win32::Graphics::Direct2D::ID2D1Resource
pub struct ID2D1Resource(/* private fields */);
Implementations§
§impl ID2D1Resource
impl ID2D1Resource
pub unsafe fn GetFactory(&self) -> Result<ID2D1Factory>
Trait Implementations§
§impl CanInto<ID2D1Resource> for ID2D1Bitmap
impl CanInto<ID2D1Resource> for ID2D1Bitmap
§impl CanInto<ID2D1Resource> for ID2D1Bitmap1
impl CanInto<ID2D1Resource> for ID2D1Bitmap1
§impl CanInto<ID2D1Resource> for ID2D1BitmapBrush
impl CanInto<ID2D1Resource> for ID2D1BitmapBrush
§impl CanInto<ID2D1Resource> for ID2D1BitmapBrush1
impl CanInto<ID2D1Resource> for ID2D1BitmapBrush1
§impl CanInto<ID2D1Resource> for ID2D1BitmapRenderTarget
impl CanInto<ID2D1Resource> for ID2D1BitmapRenderTarget
§impl CanInto<ID2D1Resource> for ID2D1Brush
impl CanInto<ID2D1Resource> for ID2D1Brush
§impl CanInto<ID2D1Resource> for ID2D1ColorContext
impl CanInto<ID2D1Resource> for ID2D1ColorContext
§impl CanInto<ID2D1Resource> for ID2D1ColorContext1
impl CanInto<ID2D1Resource> for ID2D1ColorContext1
§impl CanInto<ID2D1Resource> for ID2D1CommandList
impl CanInto<ID2D1Resource> for ID2D1CommandList
§impl CanInto<ID2D1Resource> for ID2D1DCRenderTarget
impl CanInto<ID2D1Resource> for ID2D1DCRenderTarget
§impl CanInto<ID2D1Resource> for ID2D1Device
impl CanInto<ID2D1Resource> for ID2D1Device
§impl CanInto<ID2D1Resource> for ID2D1Device1
impl CanInto<ID2D1Resource> for ID2D1Device1
§impl CanInto<ID2D1Resource> for ID2D1Device2
impl CanInto<ID2D1Resource> for ID2D1Device2
§impl CanInto<ID2D1Resource> for ID2D1Device3
impl CanInto<ID2D1Resource> for ID2D1Device3
§impl CanInto<ID2D1Resource> for ID2D1Device4
impl CanInto<ID2D1Resource> for ID2D1Device4
§impl CanInto<ID2D1Resource> for ID2D1Device5
impl CanInto<ID2D1Resource> for ID2D1Device5
§impl CanInto<ID2D1Resource> for ID2D1Device6
impl CanInto<ID2D1Resource> for ID2D1Device6
§impl CanInto<ID2D1Resource> for ID2D1Device7
impl CanInto<ID2D1Resource> for ID2D1Device7
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext
impl CanInto<ID2D1Resource> for ID2D1DeviceContext
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext1
impl CanInto<ID2D1Resource> for ID2D1DeviceContext1
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext2
impl CanInto<ID2D1Resource> for ID2D1DeviceContext2
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext3
impl CanInto<ID2D1Resource> for ID2D1DeviceContext3
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext4
impl CanInto<ID2D1Resource> for ID2D1DeviceContext4
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext5
impl CanInto<ID2D1Resource> for ID2D1DeviceContext5
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext6
impl CanInto<ID2D1Resource> for ID2D1DeviceContext6
§impl CanInto<ID2D1Resource> for ID2D1DeviceContext7
impl CanInto<ID2D1Resource> for ID2D1DeviceContext7
§impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock
impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock
§impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock1
impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock1
§impl CanInto<ID2D1Resource> for ID2D1EllipseGeometry
impl CanInto<ID2D1Resource> for ID2D1EllipseGeometry
§impl CanInto<ID2D1Resource> for ID2D1GdiMetafile
impl CanInto<ID2D1Resource> for ID2D1GdiMetafile
§impl CanInto<ID2D1Resource> for ID2D1GdiMetafile1
impl CanInto<ID2D1Resource> for ID2D1GdiMetafile1
§impl CanInto<ID2D1Resource> for ID2D1Geometry
impl CanInto<ID2D1Resource> for ID2D1Geometry
§impl CanInto<ID2D1Resource> for ID2D1GeometryGroup
impl CanInto<ID2D1Resource> for ID2D1GeometryGroup
§impl CanInto<ID2D1Resource> for ID2D1GeometryRealization
impl CanInto<ID2D1Resource> for ID2D1GeometryRealization
§impl CanInto<ID2D1Resource> for ID2D1GradientMesh
impl CanInto<ID2D1Resource> for ID2D1GradientMesh
§impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection
impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection
§impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection1
impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection1
§impl CanInto<ID2D1Resource> for ID2D1HwndRenderTarget
impl CanInto<ID2D1Resource> for ID2D1HwndRenderTarget
§impl CanInto<ID2D1Resource> for ID2D1Image
impl CanInto<ID2D1Resource> for ID2D1Image
§impl CanInto<ID2D1Resource> for ID2D1ImageBrush
impl CanInto<ID2D1Resource> for ID2D1ImageBrush
§impl CanInto<ID2D1Resource> for ID2D1ImageSource
impl CanInto<ID2D1Resource> for ID2D1ImageSource
§impl CanInto<ID2D1Resource> for ID2D1ImageSourceFromWic
impl CanInto<ID2D1Resource> for ID2D1ImageSourceFromWic
§impl CanInto<ID2D1Resource> for ID2D1InkStyle
impl CanInto<ID2D1Resource> for ID2D1InkStyle
§impl CanInto<ID2D1Resource> for ID2D1Layer
impl CanInto<ID2D1Resource> for ID2D1Layer
§impl CanInto<ID2D1Resource> for ID2D1LinearGradientBrush
impl CanInto<ID2D1Resource> for ID2D1LinearGradientBrush
§impl CanInto<ID2D1Resource> for ID2D1LookupTable3D
impl CanInto<ID2D1Resource> for ID2D1LookupTable3D
§impl CanInto<ID2D1Resource> for ID2D1PathGeometry
impl CanInto<ID2D1Resource> for ID2D1PathGeometry
§impl CanInto<ID2D1Resource> for ID2D1PathGeometry1
impl CanInto<ID2D1Resource> for ID2D1PathGeometry1
§impl CanInto<ID2D1Resource> for ID2D1RadialGradientBrush
impl CanInto<ID2D1Resource> for ID2D1RadialGradientBrush
§impl CanInto<ID2D1Resource> for ID2D1RectangleGeometry
impl CanInto<ID2D1Resource> for ID2D1RectangleGeometry
§impl CanInto<ID2D1Resource> for ID2D1RenderTarget
impl CanInto<ID2D1Resource> for ID2D1RenderTarget
§impl CanInto<ID2D1Resource> for ID2D1RoundedRectangleGeometry
impl CanInto<ID2D1Resource> for ID2D1RoundedRectangleGeometry
§impl CanInto<ID2D1Resource> for ID2D1SolidColorBrush
impl CanInto<ID2D1Resource> for ID2D1SolidColorBrush
§impl CanInto<ID2D1Resource> for ID2D1SpriteBatch
impl CanInto<ID2D1Resource> for ID2D1SpriteBatch
§impl CanInto<ID2D1Resource> for ID2D1StrokeStyle
impl CanInto<ID2D1Resource> for ID2D1StrokeStyle
§impl CanInto<ID2D1Resource> for ID2D1StrokeStyle1
impl CanInto<ID2D1Resource> for ID2D1StrokeStyle1
§impl CanInto<ID2D1Resource> for ID2D1SvgAttribute
impl CanInto<ID2D1Resource> for ID2D1SvgAttribute
§impl CanInto<ID2D1Resource> for ID2D1SvgDocument
impl CanInto<ID2D1Resource> for ID2D1SvgDocument
§impl CanInto<ID2D1Resource> for ID2D1SvgElement
impl CanInto<ID2D1Resource> for ID2D1SvgElement
§impl CanInto<ID2D1Resource> for ID2D1SvgGlyphStyle
impl CanInto<ID2D1Resource> for ID2D1SvgGlyphStyle
§impl CanInto<ID2D1Resource> for ID2D1SvgPaint
impl CanInto<ID2D1Resource> for ID2D1SvgPaint
§impl CanInto<ID2D1Resource> for ID2D1SvgPathData
impl CanInto<ID2D1Resource> for ID2D1SvgPathData
§impl CanInto<ID2D1Resource> for ID2D1SvgPointCollection
impl CanInto<ID2D1Resource> for ID2D1SvgPointCollection
§impl CanInto<ID2D1Resource> for ID2D1SvgStrokeDashArray
impl CanInto<ID2D1Resource> for ID2D1SvgStrokeDashArray
§impl CanInto<ID2D1Resource> for ID2D1TransformedGeometry
impl CanInto<ID2D1Resource> for ID2D1TransformedGeometry
§impl CanInto<ID2D1Resource> for ID2D1TransformedImageSource
impl CanInto<ID2D1Resource> for ID2D1TransformedImageSource
§impl CanInto<IUnknown> for ID2D1Resource
impl CanInto<IUnknown> for ID2D1Resource
§impl Clone for ID2D1Resource
impl Clone for ID2D1Resource
§fn clone(&self) -> ID2D1Resource
fn clone(&self) -> ID2D1Resource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ID2D1Resource
impl Debug for ID2D1Resource
§impl Deref for ID2D1Resource
impl Deref for ID2D1Resource
§impl From<&ID2D1Bitmap> for &ID2D1Resource
impl From<&ID2D1Bitmap> for &ID2D1Resource
§fn from(value: &ID2D1Bitmap) -> Self
fn from(value: &ID2D1Bitmap) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Bitmap1> for &ID2D1Resource
impl From<&ID2D1Bitmap1> for &ID2D1Resource
§fn from(value: &ID2D1Bitmap1) -> Self
fn from(value: &ID2D1Bitmap1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1BitmapBrush> for &ID2D1Resource
impl From<&ID2D1BitmapBrush> for &ID2D1Resource
§fn from(value: &ID2D1BitmapBrush) -> Self
fn from(value: &ID2D1BitmapBrush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1BitmapBrush1> for &ID2D1Resource
impl From<&ID2D1BitmapBrush1> for &ID2D1Resource
§fn from(value: &ID2D1BitmapBrush1) -> Self
fn from(value: &ID2D1BitmapBrush1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1BitmapRenderTarget> for &ID2D1Resource
impl From<&ID2D1BitmapRenderTarget> for &ID2D1Resource
§fn from(value: &ID2D1BitmapRenderTarget) -> Self
fn from(value: &ID2D1BitmapRenderTarget) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Brush> for &ID2D1Resource
impl From<&ID2D1Brush> for &ID2D1Resource
§fn from(value: &ID2D1Brush) -> Self
fn from(value: &ID2D1Brush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ColorContext> for &ID2D1Resource
impl From<&ID2D1ColorContext> for &ID2D1Resource
§fn from(value: &ID2D1ColorContext) -> Self
fn from(value: &ID2D1ColorContext) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ColorContext1> for &ID2D1Resource
impl From<&ID2D1ColorContext1> for &ID2D1Resource
§fn from(value: &ID2D1ColorContext1) -> Self
fn from(value: &ID2D1ColorContext1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1CommandList> for &ID2D1Resource
impl From<&ID2D1CommandList> for &ID2D1Resource
§fn from(value: &ID2D1CommandList) -> Self
fn from(value: &ID2D1CommandList) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DCRenderTarget> for &ID2D1Resource
impl From<&ID2D1DCRenderTarget> for &ID2D1Resource
§fn from(value: &ID2D1DCRenderTarget) -> Self
fn from(value: &ID2D1DCRenderTarget) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device> for &ID2D1Resource
impl From<&ID2D1Device> for &ID2D1Resource
§fn from(value: &ID2D1Device) -> Self
fn from(value: &ID2D1Device) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device1> for &ID2D1Resource
impl From<&ID2D1Device1> for &ID2D1Resource
§fn from(value: &ID2D1Device1) -> Self
fn from(value: &ID2D1Device1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device2> for &ID2D1Resource
impl From<&ID2D1Device2> for &ID2D1Resource
§fn from(value: &ID2D1Device2) -> Self
fn from(value: &ID2D1Device2) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device3> for &ID2D1Resource
impl From<&ID2D1Device3> for &ID2D1Resource
§fn from(value: &ID2D1Device3) -> Self
fn from(value: &ID2D1Device3) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device4> for &ID2D1Resource
impl From<&ID2D1Device4> for &ID2D1Resource
§fn from(value: &ID2D1Device4) -> Self
fn from(value: &ID2D1Device4) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device5> for &ID2D1Resource
impl From<&ID2D1Device5> for &ID2D1Resource
§fn from(value: &ID2D1Device5) -> Self
fn from(value: &ID2D1Device5) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device6> for &ID2D1Resource
impl From<&ID2D1Device6> for &ID2D1Resource
§fn from(value: &ID2D1Device6) -> Self
fn from(value: &ID2D1Device6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Device7> for &ID2D1Resource
impl From<&ID2D1Device7> for &ID2D1Resource
§fn from(value: &ID2D1Device7) -> Self
fn from(value: &ID2D1Device7) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext> for &ID2D1Resource
impl From<&ID2D1DeviceContext> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext) -> Self
fn from(value: &ID2D1DeviceContext) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext1> for &ID2D1Resource
impl From<&ID2D1DeviceContext1> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext1) -> Self
fn from(value: &ID2D1DeviceContext1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext2> for &ID2D1Resource
impl From<&ID2D1DeviceContext2> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext2) -> Self
fn from(value: &ID2D1DeviceContext2) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext3> for &ID2D1Resource
impl From<&ID2D1DeviceContext3> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext3) -> Self
fn from(value: &ID2D1DeviceContext3) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext4> for &ID2D1Resource
impl From<&ID2D1DeviceContext4> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext4) -> Self
fn from(value: &ID2D1DeviceContext4) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext5> for &ID2D1Resource
impl From<&ID2D1DeviceContext5> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext5) -> Self
fn from(value: &ID2D1DeviceContext5) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext6> for &ID2D1Resource
impl From<&ID2D1DeviceContext6> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext6) -> Self
fn from(value: &ID2D1DeviceContext6) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DeviceContext7> for &ID2D1Resource
impl From<&ID2D1DeviceContext7> for &ID2D1Resource
§fn from(value: &ID2D1DeviceContext7) -> Self
fn from(value: &ID2D1DeviceContext7) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DrawingStateBlock> for &ID2D1Resource
impl From<&ID2D1DrawingStateBlock> for &ID2D1Resource
§fn from(value: &ID2D1DrawingStateBlock) -> Self
fn from(value: &ID2D1DrawingStateBlock) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DrawingStateBlock1> for &ID2D1Resource
impl From<&ID2D1DrawingStateBlock1> for &ID2D1Resource
§fn from(value: &ID2D1DrawingStateBlock1) -> Self
fn from(value: &ID2D1DrawingStateBlock1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1EllipseGeometry> for &ID2D1Resource
impl From<&ID2D1EllipseGeometry> for &ID2D1Resource
§fn from(value: &ID2D1EllipseGeometry) -> Self
fn from(value: &ID2D1EllipseGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GdiMetafile> for &ID2D1Resource
impl From<&ID2D1GdiMetafile> for &ID2D1Resource
§fn from(value: &ID2D1GdiMetafile) -> Self
fn from(value: &ID2D1GdiMetafile) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GdiMetafile1> for &ID2D1Resource
impl From<&ID2D1GdiMetafile1> for &ID2D1Resource
§fn from(value: &ID2D1GdiMetafile1) -> Self
fn from(value: &ID2D1GdiMetafile1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Geometry> for &ID2D1Resource
impl From<&ID2D1Geometry> for &ID2D1Resource
§fn from(value: &ID2D1Geometry) -> Self
fn from(value: &ID2D1Geometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GeometryGroup> for &ID2D1Resource
impl From<&ID2D1GeometryGroup> for &ID2D1Resource
§fn from(value: &ID2D1GeometryGroup) -> Self
fn from(value: &ID2D1GeometryGroup) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GeometryRealization> for &ID2D1Resource
impl From<&ID2D1GeometryRealization> for &ID2D1Resource
§fn from(value: &ID2D1GeometryRealization) -> Self
fn from(value: &ID2D1GeometryRealization) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GradientMesh> for &ID2D1Resource
impl From<&ID2D1GradientMesh> for &ID2D1Resource
§fn from(value: &ID2D1GradientMesh) -> Self
fn from(value: &ID2D1GradientMesh) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GradientStopCollection> for &ID2D1Resource
impl From<&ID2D1GradientStopCollection> for &ID2D1Resource
§fn from(value: &ID2D1GradientStopCollection) -> Self
fn from(value: &ID2D1GradientStopCollection) -> Self
Converts to this type from the input type.
§impl From<&ID2D1GradientStopCollection1> for &ID2D1Resource
impl From<&ID2D1GradientStopCollection1> for &ID2D1Resource
§fn from(value: &ID2D1GradientStopCollection1) -> Self
fn from(value: &ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1HwndRenderTarget> for &ID2D1Resource
impl From<&ID2D1HwndRenderTarget> for &ID2D1Resource
§fn from(value: &ID2D1HwndRenderTarget) -> Self
fn from(value: &ID2D1HwndRenderTarget) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Image> for &ID2D1Resource
impl From<&ID2D1Image> for &ID2D1Resource
§fn from(value: &ID2D1Image) -> Self
fn from(value: &ID2D1Image) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ImageBrush> for &ID2D1Resource
impl From<&ID2D1ImageBrush> for &ID2D1Resource
§fn from(value: &ID2D1ImageBrush) -> Self
fn from(value: &ID2D1ImageBrush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ImageSource> for &ID2D1Resource
impl From<&ID2D1ImageSource> for &ID2D1Resource
§fn from(value: &ID2D1ImageSource) -> Self
fn from(value: &ID2D1ImageSource) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ImageSourceFromWic> for &ID2D1Resource
impl From<&ID2D1ImageSourceFromWic> for &ID2D1Resource
§fn from(value: &ID2D1ImageSourceFromWic) -> Self
fn from(value: &ID2D1ImageSourceFromWic) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Ink> for &ID2D1Resource
impl From<&ID2D1Ink> for &ID2D1Resource
§impl From<&ID2D1InkStyle> for &ID2D1Resource
impl From<&ID2D1InkStyle> for &ID2D1Resource
§fn from(value: &ID2D1InkStyle) -> Self
fn from(value: &ID2D1InkStyle) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Layer> for &ID2D1Resource
impl From<&ID2D1Layer> for &ID2D1Resource
§fn from(value: &ID2D1Layer) -> Self
fn from(value: &ID2D1Layer) -> Self
Converts to this type from the input type.
§impl From<&ID2D1LinearGradientBrush> for &ID2D1Resource
impl From<&ID2D1LinearGradientBrush> for &ID2D1Resource
§fn from(value: &ID2D1LinearGradientBrush) -> Self
fn from(value: &ID2D1LinearGradientBrush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1LookupTable3D> for &ID2D1Resource
impl From<&ID2D1LookupTable3D> for &ID2D1Resource
§fn from(value: &ID2D1LookupTable3D) -> Self
fn from(value: &ID2D1LookupTable3D) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Mesh> for &ID2D1Resource
impl From<&ID2D1Mesh> for &ID2D1Resource
§impl From<&ID2D1PathGeometry> for &ID2D1Resource
impl From<&ID2D1PathGeometry> for &ID2D1Resource
§fn from(value: &ID2D1PathGeometry) -> Self
fn from(value: &ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1PathGeometry1> for &ID2D1Resource
impl From<&ID2D1PathGeometry1> for &ID2D1Resource
§fn from(value: &ID2D1PathGeometry1) -> Self
fn from(value: &ID2D1PathGeometry1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1RadialGradientBrush> for &ID2D1Resource
impl From<&ID2D1RadialGradientBrush> for &ID2D1Resource
§fn from(value: &ID2D1RadialGradientBrush) -> Self
fn from(value: &ID2D1RadialGradientBrush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1RectangleGeometry> for &ID2D1Resource
impl From<&ID2D1RectangleGeometry> for &ID2D1Resource
§fn from(value: &ID2D1RectangleGeometry) -> Self
fn from(value: &ID2D1RectangleGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1RenderTarget> for &ID2D1Resource
impl From<&ID2D1RenderTarget> for &ID2D1Resource
§fn from(value: &ID2D1RenderTarget) -> Self
fn from(value: &ID2D1RenderTarget) -> Self
Converts to this type from the input type.
§impl From<&ID2D1Resource> for &IUnknown
impl From<&ID2D1Resource> for &IUnknown
§fn from(value: &ID2D1Resource) -> Self
fn from(value: &ID2D1Resource) -> Self
Converts to this type from the input type.
§impl From<&ID2D1RoundedRectangleGeometry> for &ID2D1Resource
impl From<&ID2D1RoundedRectangleGeometry> for &ID2D1Resource
§fn from(value: &ID2D1RoundedRectangleGeometry) -> Self
fn from(value: &ID2D1RoundedRectangleGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SolidColorBrush> for &ID2D1Resource
impl From<&ID2D1SolidColorBrush> for &ID2D1Resource
§fn from(value: &ID2D1SolidColorBrush) -> Self
fn from(value: &ID2D1SolidColorBrush) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SpriteBatch> for &ID2D1Resource
impl From<&ID2D1SpriteBatch> for &ID2D1Resource
§fn from(value: &ID2D1SpriteBatch) -> Self
fn from(value: &ID2D1SpriteBatch) -> Self
Converts to this type from the input type.
§impl From<&ID2D1StrokeStyle> for &ID2D1Resource
impl From<&ID2D1StrokeStyle> for &ID2D1Resource
§fn from(value: &ID2D1StrokeStyle) -> Self
fn from(value: &ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<&ID2D1StrokeStyle1> for &ID2D1Resource
impl From<&ID2D1StrokeStyle1> for &ID2D1Resource
§fn from(value: &ID2D1StrokeStyle1) -> Self
fn from(value: &ID2D1StrokeStyle1) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgAttribute> for &ID2D1Resource
impl From<&ID2D1SvgAttribute> for &ID2D1Resource
§fn from(value: &ID2D1SvgAttribute) -> Self
fn from(value: &ID2D1SvgAttribute) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgDocument> for &ID2D1Resource
impl From<&ID2D1SvgDocument> for &ID2D1Resource
§fn from(value: &ID2D1SvgDocument) -> Self
fn from(value: &ID2D1SvgDocument) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgElement> for &ID2D1Resource
impl From<&ID2D1SvgElement> for &ID2D1Resource
§fn from(value: &ID2D1SvgElement) -> Self
fn from(value: &ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgGlyphStyle> for &ID2D1Resource
impl From<&ID2D1SvgGlyphStyle> for &ID2D1Resource
§fn from(value: &ID2D1SvgGlyphStyle) -> Self
fn from(value: &ID2D1SvgGlyphStyle) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgPaint> for &ID2D1Resource
impl From<&ID2D1SvgPaint> for &ID2D1Resource
§fn from(value: &ID2D1SvgPaint) -> Self
fn from(value: &ID2D1SvgPaint) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgPathData> for &ID2D1Resource
impl From<&ID2D1SvgPathData> for &ID2D1Resource
§fn from(value: &ID2D1SvgPathData) -> Self
fn from(value: &ID2D1SvgPathData) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgPointCollection> for &ID2D1Resource
impl From<&ID2D1SvgPointCollection> for &ID2D1Resource
§fn from(value: &ID2D1SvgPointCollection) -> Self
fn from(value: &ID2D1SvgPointCollection) -> Self
Converts to this type from the input type.
§impl From<&ID2D1SvgStrokeDashArray> for &ID2D1Resource
impl From<&ID2D1SvgStrokeDashArray> for &ID2D1Resource
§fn from(value: &ID2D1SvgStrokeDashArray) -> Self
fn from(value: &ID2D1SvgStrokeDashArray) -> Self
Converts to this type from the input type.
§impl From<&ID2D1TransformedGeometry> for &ID2D1Resource
impl From<&ID2D1TransformedGeometry> for &ID2D1Resource
§fn from(value: &ID2D1TransformedGeometry) -> Self
fn from(value: &ID2D1TransformedGeometry) -> Self
Converts to this type from the input type.
§impl From<&ID2D1TransformedImageSource> for &ID2D1Resource
impl From<&ID2D1TransformedImageSource> for &ID2D1Resource
§fn from(value: &ID2D1TransformedImageSource) -> Self
fn from(value: &ID2D1TransformedImageSource) -> Self
Converts to this type from the input type.
§impl From<ID2D1Bitmap> for ID2D1Resource
impl From<ID2D1Bitmap> for ID2D1Resource
§fn from(value: ID2D1Bitmap) -> Self
fn from(value: ID2D1Bitmap) -> Self
Converts to this type from the input type.
§impl From<ID2D1Bitmap1> for ID2D1Resource
impl From<ID2D1Bitmap1> for ID2D1Resource
§fn from(value: ID2D1Bitmap1) -> Self
fn from(value: ID2D1Bitmap1) -> Self
Converts to this type from the input type.
§impl From<ID2D1BitmapBrush> for ID2D1Resource
impl From<ID2D1BitmapBrush> for ID2D1Resource
§fn from(value: ID2D1BitmapBrush) -> Self
fn from(value: ID2D1BitmapBrush) -> Self
Converts to this type from the input type.
§impl From<ID2D1BitmapBrush1> for ID2D1Resource
impl From<ID2D1BitmapBrush1> for ID2D1Resource
§fn from(value: ID2D1BitmapBrush1) -> Self
fn from(value: ID2D1BitmapBrush1) -> Self
Converts to this type from the input type.
§impl From<ID2D1BitmapRenderTarget> for ID2D1Resource
impl From<ID2D1BitmapRenderTarget> for ID2D1Resource
§fn from(value: ID2D1BitmapRenderTarget) -> Self
fn from(value: ID2D1BitmapRenderTarget) -> Self
Converts to this type from the input type.
§impl From<ID2D1Brush> for ID2D1Resource
impl From<ID2D1Brush> for ID2D1Resource
§fn from(value: ID2D1Brush) -> Self
fn from(value: ID2D1Brush) -> Self
Converts to this type from the input type.
§impl From<ID2D1ColorContext> for ID2D1Resource
impl From<ID2D1ColorContext> for ID2D1Resource
§fn from(value: ID2D1ColorContext) -> Self
fn from(value: ID2D1ColorContext) -> Self
Converts to this type from the input type.
§impl From<ID2D1ColorContext1> for ID2D1Resource
impl From<ID2D1ColorContext1> for ID2D1Resource
§fn from(value: ID2D1ColorContext1) -> Self
fn from(value: ID2D1ColorContext1) -> Self
Converts to this type from the input type.
§impl From<ID2D1CommandList> for ID2D1Resource
impl From<ID2D1CommandList> for ID2D1Resource
§fn from(value: ID2D1CommandList) -> Self
fn from(value: ID2D1CommandList) -> Self
Converts to this type from the input type.
§impl From<ID2D1DCRenderTarget> for ID2D1Resource
impl From<ID2D1DCRenderTarget> for ID2D1Resource
§fn from(value: ID2D1DCRenderTarget) -> Self
fn from(value: ID2D1DCRenderTarget) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device> for ID2D1Resource
impl From<ID2D1Device> for ID2D1Resource
§fn from(value: ID2D1Device) -> Self
fn from(value: ID2D1Device) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device1> for ID2D1Resource
impl From<ID2D1Device1> for ID2D1Resource
§fn from(value: ID2D1Device1) -> Self
fn from(value: ID2D1Device1) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device2> for ID2D1Resource
impl From<ID2D1Device2> for ID2D1Resource
§fn from(value: ID2D1Device2) -> Self
fn from(value: ID2D1Device2) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device3> for ID2D1Resource
impl From<ID2D1Device3> for ID2D1Resource
§fn from(value: ID2D1Device3) -> Self
fn from(value: ID2D1Device3) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device4> for ID2D1Resource
impl From<ID2D1Device4> for ID2D1Resource
§fn from(value: ID2D1Device4) -> Self
fn from(value: ID2D1Device4) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device5> for ID2D1Resource
impl From<ID2D1Device5> for ID2D1Resource
§fn from(value: ID2D1Device5) -> Self
fn from(value: ID2D1Device5) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device6> for ID2D1Resource
impl From<ID2D1Device6> for ID2D1Resource
§fn from(value: ID2D1Device6) -> Self
fn from(value: ID2D1Device6) -> Self
Converts to this type from the input type.
§impl From<ID2D1Device7> for ID2D1Resource
impl From<ID2D1Device7> for ID2D1Resource
§fn from(value: ID2D1Device7) -> Self
fn from(value: ID2D1Device7) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext> for ID2D1Resource
impl From<ID2D1DeviceContext> for ID2D1Resource
§fn from(value: ID2D1DeviceContext) -> Self
fn from(value: ID2D1DeviceContext) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext1> for ID2D1Resource
impl From<ID2D1DeviceContext1> for ID2D1Resource
§fn from(value: ID2D1DeviceContext1) -> Self
fn from(value: ID2D1DeviceContext1) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext2> for ID2D1Resource
impl From<ID2D1DeviceContext2> for ID2D1Resource
§fn from(value: ID2D1DeviceContext2) -> Self
fn from(value: ID2D1DeviceContext2) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext3> for ID2D1Resource
impl From<ID2D1DeviceContext3> for ID2D1Resource
§fn from(value: ID2D1DeviceContext3) -> Self
fn from(value: ID2D1DeviceContext3) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext4> for ID2D1Resource
impl From<ID2D1DeviceContext4> for ID2D1Resource
§fn from(value: ID2D1DeviceContext4) -> Self
fn from(value: ID2D1DeviceContext4) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext5> for ID2D1Resource
impl From<ID2D1DeviceContext5> for ID2D1Resource
§fn from(value: ID2D1DeviceContext5) -> Self
fn from(value: ID2D1DeviceContext5) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext6> for ID2D1Resource
impl From<ID2D1DeviceContext6> for ID2D1Resource
§fn from(value: ID2D1DeviceContext6) -> Self
fn from(value: ID2D1DeviceContext6) -> Self
Converts to this type from the input type.
§impl From<ID2D1DeviceContext7> for ID2D1Resource
impl From<ID2D1DeviceContext7> for ID2D1Resource
§fn from(value: ID2D1DeviceContext7) -> Self
fn from(value: ID2D1DeviceContext7) -> Self
Converts to this type from the input type.
§impl From<ID2D1DrawingStateBlock> for ID2D1Resource
impl From<ID2D1DrawingStateBlock> for ID2D1Resource
§fn from(value: ID2D1DrawingStateBlock) -> Self
fn from(value: ID2D1DrawingStateBlock) -> Self
Converts to this type from the input type.
§impl From<ID2D1DrawingStateBlock1> for ID2D1Resource
impl From<ID2D1DrawingStateBlock1> for ID2D1Resource
§fn from(value: ID2D1DrawingStateBlock1) -> Self
fn from(value: ID2D1DrawingStateBlock1) -> Self
Converts to this type from the input type.
§impl From<ID2D1EllipseGeometry> for ID2D1Resource
impl From<ID2D1EllipseGeometry> for ID2D1Resource
§fn from(value: ID2D1EllipseGeometry) -> Self
fn from(value: ID2D1EllipseGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1GdiMetafile> for ID2D1Resource
impl From<ID2D1GdiMetafile> for ID2D1Resource
§fn from(value: ID2D1GdiMetafile) -> Self
fn from(value: ID2D1GdiMetafile) -> Self
Converts to this type from the input type.
§impl From<ID2D1GdiMetafile1> for ID2D1Resource
impl From<ID2D1GdiMetafile1> for ID2D1Resource
§fn from(value: ID2D1GdiMetafile1) -> Self
fn from(value: ID2D1GdiMetafile1) -> Self
Converts to this type from the input type.
§impl From<ID2D1Geometry> for ID2D1Resource
impl From<ID2D1Geometry> for ID2D1Resource
§fn from(value: ID2D1Geometry) -> Self
fn from(value: ID2D1Geometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1GeometryGroup> for ID2D1Resource
impl From<ID2D1GeometryGroup> for ID2D1Resource
§fn from(value: ID2D1GeometryGroup) -> Self
fn from(value: ID2D1GeometryGroup) -> Self
Converts to this type from the input type.
§impl From<ID2D1GeometryRealization> for ID2D1Resource
impl From<ID2D1GeometryRealization> for ID2D1Resource
§fn from(value: ID2D1GeometryRealization) -> Self
fn from(value: ID2D1GeometryRealization) -> Self
Converts to this type from the input type.
§impl From<ID2D1GradientMesh> for ID2D1Resource
impl From<ID2D1GradientMesh> for ID2D1Resource
§fn from(value: ID2D1GradientMesh) -> Self
fn from(value: ID2D1GradientMesh) -> Self
Converts to this type from the input type.
§impl From<ID2D1GradientStopCollection> for ID2D1Resource
impl From<ID2D1GradientStopCollection> for ID2D1Resource
§fn from(value: ID2D1GradientStopCollection) -> Self
fn from(value: ID2D1GradientStopCollection) -> Self
Converts to this type from the input type.
§impl From<ID2D1GradientStopCollection1> for ID2D1Resource
impl From<ID2D1GradientStopCollection1> for ID2D1Resource
§fn from(value: ID2D1GradientStopCollection1) -> Self
fn from(value: ID2D1GradientStopCollection1) -> Self
Converts to this type from the input type.
§impl From<ID2D1HwndRenderTarget> for ID2D1Resource
impl From<ID2D1HwndRenderTarget> for ID2D1Resource
§fn from(value: ID2D1HwndRenderTarget) -> Self
fn from(value: ID2D1HwndRenderTarget) -> Self
Converts to this type from the input type.
§impl From<ID2D1Image> for ID2D1Resource
impl From<ID2D1Image> for ID2D1Resource
§fn from(value: ID2D1Image) -> Self
fn from(value: ID2D1Image) -> Self
Converts to this type from the input type.
§impl From<ID2D1ImageBrush> for ID2D1Resource
impl From<ID2D1ImageBrush> for ID2D1Resource
§fn from(value: ID2D1ImageBrush) -> Self
fn from(value: ID2D1ImageBrush) -> Self
Converts to this type from the input type.
§impl From<ID2D1ImageSource> for ID2D1Resource
impl From<ID2D1ImageSource> for ID2D1Resource
§fn from(value: ID2D1ImageSource) -> Self
fn from(value: ID2D1ImageSource) -> Self
Converts to this type from the input type.
§impl From<ID2D1ImageSourceFromWic> for ID2D1Resource
impl From<ID2D1ImageSourceFromWic> for ID2D1Resource
§fn from(value: ID2D1ImageSourceFromWic) -> Self
fn from(value: ID2D1ImageSourceFromWic) -> Self
Converts to this type from the input type.
§impl From<ID2D1Ink> for ID2D1Resource
impl From<ID2D1Ink> for ID2D1Resource
§impl From<ID2D1InkStyle> for ID2D1Resource
impl From<ID2D1InkStyle> for ID2D1Resource
§fn from(value: ID2D1InkStyle) -> Self
fn from(value: ID2D1InkStyle) -> Self
Converts to this type from the input type.
§impl From<ID2D1Layer> for ID2D1Resource
impl From<ID2D1Layer> for ID2D1Resource
§fn from(value: ID2D1Layer) -> Self
fn from(value: ID2D1Layer) -> Self
Converts to this type from the input type.
§impl From<ID2D1LinearGradientBrush> for ID2D1Resource
impl From<ID2D1LinearGradientBrush> for ID2D1Resource
§fn from(value: ID2D1LinearGradientBrush) -> Self
fn from(value: ID2D1LinearGradientBrush) -> Self
Converts to this type from the input type.
§impl From<ID2D1LookupTable3D> for ID2D1Resource
impl From<ID2D1LookupTable3D> for ID2D1Resource
§fn from(value: ID2D1LookupTable3D) -> Self
fn from(value: ID2D1LookupTable3D) -> Self
Converts to this type from the input type.
§impl From<ID2D1Mesh> for ID2D1Resource
impl From<ID2D1Mesh> for ID2D1Resource
§impl From<ID2D1PathGeometry> for ID2D1Resource
impl From<ID2D1PathGeometry> for ID2D1Resource
§fn from(value: ID2D1PathGeometry) -> Self
fn from(value: ID2D1PathGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1PathGeometry1> for ID2D1Resource
impl From<ID2D1PathGeometry1> for ID2D1Resource
§fn from(value: ID2D1PathGeometry1) -> Self
fn from(value: ID2D1PathGeometry1) -> Self
Converts to this type from the input type.
§impl From<ID2D1RadialGradientBrush> for ID2D1Resource
impl From<ID2D1RadialGradientBrush> for ID2D1Resource
§fn from(value: ID2D1RadialGradientBrush) -> Self
fn from(value: ID2D1RadialGradientBrush) -> Self
Converts to this type from the input type.
§impl From<ID2D1RectangleGeometry> for ID2D1Resource
impl From<ID2D1RectangleGeometry> for ID2D1Resource
§fn from(value: ID2D1RectangleGeometry) -> Self
fn from(value: ID2D1RectangleGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1RenderTarget> for ID2D1Resource
impl From<ID2D1RenderTarget> for ID2D1Resource
§fn from(value: ID2D1RenderTarget) -> Self
fn from(value: ID2D1RenderTarget) -> Self
Converts to this type from the input type.
§impl From<ID2D1Resource> for IUnknown
impl From<ID2D1Resource> for IUnknown
§fn from(value: ID2D1Resource) -> Self
fn from(value: ID2D1Resource) -> Self
Converts to this type from the input type.
§impl From<ID2D1RoundedRectangleGeometry> for ID2D1Resource
impl From<ID2D1RoundedRectangleGeometry> for ID2D1Resource
§fn from(value: ID2D1RoundedRectangleGeometry) -> Self
fn from(value: ID2D1RoundedRectangleGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1SolidColorBrush> for ID2D1Resource
impl From<ID2D1SolidColorBrush> for ID2D1Resource
§fn from(value: ID2D1SolidColorBrush) -> Self
fn from(value: ID2D1SolidColorBrush) -> Self
Converts to this type from the input type.
§impl From<ID2D1SpriteBatch> for ID2D1Resource
impl From<ID2D1SpriteBatch> for ID2D1Resource
§fn from(value: ID2D1SpriteBatch) -> Self
fn from(value: ID2D1SpriteBatch) -> Self
Converts to this type from the input type.
§impl From<ID2D1StrokeStyle> for ID2D1Resource
impl From<ID2D1StrokeStyle> for ID2D1Resource
§fn from(value: ID2D1StrokeStyle) -> Self
fn from(value: ID2D1StrokeStyle) -> Self
Converts to this type from the input type.
§impl From<ID2D1StrokeStyle1> for ID2D1Resource
impl From<ID2D1StrokeStyle1> for ID2D1Resource
§fn from(value: ID2D1StrokeStyle1) -> Self
fn from(value: ID2D1StrokeStyle1) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgAttribute> for ID2D1Resource
impl From<ID2D1SvgAttribute> for ID2D1Resource
§fn from(value: ID2D1SvgAttribute) -> Self
fn from(value: ID2D1SvgAttribute) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgDocument> for ID2D1Resource
impl From<ID2D1SvgDocument> for ID2D1Resource
§fn from(value: ID2D1SvgDocument) -> Self
fn from(value: ID2D1SvgDocument) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgElement> for ID2D1Resource
impl From<ID2D1SvgElement> for ID2D1Resource
§fn from(value: ID2D1SvgElement) -> Self
fn from(value: ID2D1SvgElement) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgGlyphStyle> for ID2D1Resource
impl From<ID2D1SvgGlyphStyle> for ID2D1Resource
§fn from(value: ID2D1SvgGlyphStyle) -> Self
fn from(value: ID2D1SvgGlyphStyle) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgPaint> for ID2D1Resource
impl From<ID2D1SvgPaint> for ID2D1Resource
§fn from(value: ID2D1SvgPaint) -> Self
fn from(value: ID2D1SvgPaint) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgPathData> for ID2D1Resource
impl From<ID2D1SvgPathData> for ID2D1Resource
§fn from(value: ID2D1SvgPathData) -> Self
fn from(value: ID2D1SvgPathData) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgPointCollection> for ID2D1Resource
impl From<ID2D1SvgPointCollection> for ID2D1Resource
§fn from(value: ID2D1SvgPointCollection) -> Self
fn from(value: ID2D1SvgPointCollection) -> Self
Converts to this type from the input type.
§impl From<ID2D1SvgStrokeDashArray> for ID2D1Resource
impl From<ID2D1SvgStrokeDashArray> for ID2D1Resource
§fn from(value: ID2D1SvgStrokeDashArray) -> Self
fn from(value: ID2D1SvgStrokeDashArray) -> Self
Converts to this type from the input type.
§impl From<ID2D1TransformedGeometry> for ID2D1Resource
impl From<ID2D1TransformedGeometry> for ID2D1Resource
§fn from(value: ID2D1TransformedGeometry) -> Self
fn from(value: ID2D1TransformedGeometry) -> Self
Converts to this type from the input type.
§impl From<ID2D1TransformedImageSource> for ID2D1Resource
impl From<ID2D1TransformedImageSource> for ID2D1Resource
§fn from(value: ID2D1TransformedImageSource) -> Self
fn from(value: ID2D1TransformedImageSource) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1Resource
impl Interface for ID2D1Resource
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ID2D1Resource
impl PartialEq for ID2D1Resource
§fn eq(&self, other: &ID2D1Resource) -> bool
fn eq(&self, other: &ID2D1Resource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ID2D1Resource
impl Send for ID2D1Resource
impl StructuralPartialEq for ID2D1Resource
impl Sync for ID2D1Resource
Auto Trait Implementations§
impl Freeze for ID2D1Resource
impl RefUnwindSafe for ID2D1Resource
impl Unpin for ID2D1Resource
impl UnwindSafe for ID2D1Resource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)