Struct windows::Win32::Graphics::Direct2D::ID2D1Resource

pub struct ID2D1Resource(/* private fields */);

Implementations§

§

impl ID2D1Resource

pub unsafe fn GetFactory(&self) -> Result<ID2D1Factory>

Trait Implementations§

§

impl CanInto<ID2D1Resource> for ID2D1Bitmap

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Bitmap1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1BitmapBrush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1BitmapBrush1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1BitmapRenderTarget

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Brush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1ColorContext

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1ColorContext1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1CommandList

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DCRenderTarget

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device2

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device3

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device4

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device5

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device6

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Device7

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext2

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext3

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext4

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext5

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext6

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DeviceContext7

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1DrawingStateBlock1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1EllipseGeometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GdiMetafile

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GdiMetafile1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Geometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GeometryGroup

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GeometryRealization

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GradientMesh

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1GradientStopCollection1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1HwndRenderTarget

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Image

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1ImageBrush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1ImageSource

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1ImageSourceFromWic

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Ink

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1InkStyle

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Layer

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1LinearGradientBrush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1LookupTable3D

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1Mesh

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1PathGeometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1PathGeometry1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1RadialGradientBrush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1RectangleGeometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1RenderTarget

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1RoundedRectangleGeometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SolidColorBrush

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SpriteBatch

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1StrokeStyle

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1StrokeStyle1

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgAttribute

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgDocument

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgElement

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgGlyphStyle

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgPaint

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgPathData

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgPointCollection

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1SvgStrokeDashArray

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1TransformedGeometry

§

const QUERY: bool = false

§

impl CanInto<ID2D1Resource> for ID2D1TransformedImageSource

§

const QUERY: bool = false

§

impl CanInto<IUnknown> for ID2D1Resource

§

const QUERY: bool = false

§

impl Clone for ID2D1Resource

§

fn clone(&self) -> ID2D1Resource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ID2D1Resource

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Deref for ID2D1Resource

§

type Target = IUnknown

The resulting type after dereferencing.
§

fn deref(&self) -> &Self::Target

Dereferences the value.
§

impl From<&ID2D1Bitmap> for &ID2D1Resource

§

fn from(value: &ID2D1Bitmap) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Bitmap1> for &ID2D1Resource

§

fn from(value: &ID2D1Bitmap1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1BitmapBrush> for &ID2D1Resource

§

fn from(value: &ID2D1BitmapBrush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1BitmapBrush1> for &ID2D1Resource

§

fn from(value: &ID2D1BitmapBrush1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1BitmapRenderTarget> for &ID2D1Resource

§

fn from(value: &ID2D1BitmapRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Brush> for &ID2D1Resource

§

fn from(value: &ID2D1Brush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1ColorContext> for &ID2D1Resource

§

fn from(value: &ID2D1ColorContext) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1ColorContext1> for &ID2D1Resource

§

fn from(value: &ID2D1ColorContext1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1CommandList> for &ID2D1Resource

§

fn from(value: &ID2D1CommandList) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DCRenderTarget> for &ID2D1Resource

§

fn from(value: &ID2D1DCRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device> for &ID2D1Resource

§

fn from(value: &ID2D1Device) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device1> for &ID2D1Resource

§

fn from(value: &ID2D1Device1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device2> for &ID2D1Resource

§

fn from(value: &ID2D1Device2) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device3> for &ID2D1Resource

§

fn from(value: &ID2D1Device3) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device4> for &ID2D1Resource

§

fn from(value: &ID2D1Device4) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device5> for &ID2D1Resource

§

fn from(value: &ID2D1Device5) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device6> for &ID2D1Resource

§

fn from(value: &ID2D1Device6) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Device7> for &ID2D1Resource

§

fn from(value: &ID2D1Device7) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext1> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext2> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext2) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext3> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext3) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext4> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext4) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext5> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext5) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext6> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext6) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DeviceContext7> for &ID2D1Resource

§

fn from(value: &ID2D1DeviceContext7) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DrawingStateBlock> for &ID2D1Resource

§

fn from(value: &ID2D1DrawingStateBlock) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1DrawingStateBlock1> for &ID2D1Resource

§

fn from(value: &ID2D1DrawingStateBlock1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1EllipseGeometry> for &ID2D1Resource

§

fn from(value: &ID2D1EllipseGeometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GdiMetafile> for &ID2D1Resource

§

fn from(value: &ID2D1GdiMetafile) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GdiMetafile1> for &ID2D1Resource

§

fn from(value: &ID2D1GdiMetafile1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Geometry> for &ID2D1Resource

§

fn from(value: &ID2D1Geometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GeometryGroup> for &ID2D1Resource

§

fn from(value: &ID2D1GeometryGroup) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GeometryRealization> for &ID2D1Resource

§

fn from(value: &ID2D1GeometryRealization) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GradientMesh> for &ID2D1Resource

§

fn from(value: &ID2D1GradientMesh) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GradientStopCollection> for &ID2D1Resource

§

fn from(value: &ID2D1GradientStopCollection) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1GradientStopCollection1> for &ID2D1Resource

§

fn from(value: &ID2D1GradientStopCollection1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1HwndRenderTarget> for &ID2D1Resource

§

fn from(value: &ID2D1HwndRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Image> for &ID2D1Resource

§

fn from(value: &ID2D1Image) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1ImageBrush> for &ID2D1Resource

§

fn from(value: &ID2D1ImageBrush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1ImageSource> for &ID2D1Resource

§

fn from(value: &ID2D1ImageSource) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1ImageSourceFromWic> for &ID2D1Resource

§

fn from(value: &ID2D1ImageSourceFromWic) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Ink> for &ID2D1Resource

§

fn from(value: &ID2D1Ink) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1InkStyle> for &ID2D1Resource

§

fn from(value: &ID2D1InkStyle) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Layer> for &ID2D1Resource

§

fn from(value: &ID2D1Layer) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1LinearGradientBrush> for &ID2D1Resource

§

fn from(value: &ID2D1LinearGradientBrush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1LookupTable3D> for &ID2D1Resource

§

fn from(value: &ID2D1LookupTable3D) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Mesh> for &ID2D1Resource

§

fn from(value: &ID2D1Mesh) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1PathGeometry> for &ID2D1Resource

§

fn from(value: &ID2D1PathGeometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1PathGeometry1> for &ID2D1Resource

§

fn from(value: &ID2D1PathGeometry1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1RadialGradientBrush> for &ID2D1Resource

§

fn from(value: &ID2D1RadialGradientBrush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1RectangleGeometry> for &ID2D1Resource

§

fn from(value: &ID2D1RectangleGeometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1RenderTarget> for &ID2D1Resource

§

fn from(value: &ID2D1RenderTarget) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1Resource> for &IUnknown

§

fn from(value: &ID2D1Resource) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1RoundedRectangleGeometry> for &ID2D1Resource

§

fn from(value: &ID2D1RoundedRectangleGeometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SolidColorBrush> for &ID2D1Resource

§

fn from(value: &ID2D1SolidColorBrush) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SpriteBatch> for &ID2D1Resource

§

fn from(value: &ID2D1SpriteBatch) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1StrokeStyle> for &ID2D1Resource

§

fn from(value: &ID2D1StrokeStyle) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1StrokeStyle1> for &ID2D1Resource

§

fn from(value: &ID2D1StrokeStyle1) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgAttribute> for &ID2D1Resource

§

fn from(value: &ID2D1SvgAttribute) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgDocument> for &ID2D1Resource

§

fn from(value: &ID2D1SvgDocument) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgElement> for &ID2D1Resource

§

fn from(value: &ID2D1SvgElement) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgGlyphStyle> for &ID2D1Resource

§

fn from(value: &ID2D1SvgGlyphStyle) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgPaint> for &ID2D1Resource

§

fn from(value: &ID2D1SvgPaint) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgPathData> for &ID2D1Resource

§

fn from(value: &ID2D1SvgPathData) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgPointCollection> for &ID2D1Resource

§

fn from(value: &ID2D1SvgPointCollection) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1SvgStrokeDashArray> for &ID2D1Resource

§

fn from(value: &ID2D1SvgStrokeDashArray) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1TransformedGeometry> for &ID2D1Resource

§

fn from(value: &ID2D1TransformedGeometry) -> Self

Converts to this type from the input type.
§

impl From<&ID2D1TransformedImageSource> for &ID2D1Resource

§

fn from(value: &ID2D1TransformedImageSource) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Bitmap> for ID2D1Resource

§

fn from(value: ID2D1Bitmap) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Bitmap1> for ID2D1Resource

§

fn from(value: ID2D1Bitmap1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1BitmapBrush> for ID2D1Resource

§

fn from(value: ID2D1BitmapBrush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1BitmapBrush1> for ID2D1Resource

§

fn from(value: ID2D1BitmapBrush1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1BitmapRenderTarget> for ID2D1Resource

§

fn from(value: ID2D1BitmapRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Brush> for ID2D1Resource

§

fn from(value: ID2D1Brush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1ColorContext> for ID2D1Resource

§

fn from(value: ID2D1ColorContext) -> Self

Converts to this type from the input type.
§

impl From<ID2D1ColorContext1> for ID2D1Resource

§

fn from(value: ID2D1ColorContext1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1CommandList> for ID2D1Resource

§

fn from(value: ID2D1CommandList) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DCRenderTarget> for ID2D1Resource

§

fn from(value: ID2D1DCRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device> for ID2D1Resource

§

fn from(value: ID2D1Device) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device1> for ID2D1Resource

§

fn from(value: ID2D1Device1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device2> for ID2D1Resource

§

fn from(value: ID2D1Device2) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device3> for ID2D1Resource

§

fn from(value: ID2D1Device3) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device4> for ID2D1Resource

§

fn from(value: ID2D1Device4) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device5> for ID2D1Resource

§

fn from(value: ID2D1Device5) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device6> for ID2D1Resource

§

fn from(value: ID2D1Device6) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Device7> for ID2D1Resource

§

fn from(value: ID2D1Device7) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext1> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext2> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext2) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext3> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext3) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext4> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext4) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext5> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext5) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext6> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext6) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DeviceContext7> for ID2D1Resource

§

fn from(value: ID2D1DeviceContext7) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DrawingStateBlock> for ID2D1Resource

§

fn from(value: ID2D1DrawingStateBlock) -> Self

Converts to this type from the input type.
§

impl From<ID2D1DrawingStateBlock1> for ID2D1Resource

§

fn from(value: ID2D1DrawingStateBlock1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1EllipseGeometry> for ID2D1Resource

§

fn from(value: ID2D1EllipseGeometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GdiMetafile> for ID2D1Resource

§

fn from(value: ID2D1GdiMetafile) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GdiMetafile1> for ID2D1Resource

§

fn from(value: ID2D1GdiMetafile1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Geometry> for ID2D1Resource

§

fn from(value: ID2D1Geometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GeometryGroup> for ID2D1Resource

§

fn from(value: ID2D1GeometryGroup) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GeometryRealization> for ID2D1Resource

§

fn from(value: ID2D1GeometryRealization) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GradientMesh> for ID2D1Resource

§

fn from(value: ID2D1GradientMesh) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GradientStopCollection> for ID2D1Resource

§

fn from(value: ID2D1GradientStopCollection) -> Self

Converts to this type from the input type.
§

impl From<ID2D1GradientStopCollection1> for ID2D1Resource

§

fn from(value: ID2D1GradientStopCollection1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1HwndRenderTarget> for ID2D1Resource

§

fn from(value: ID2D1HwndRenderTarget) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Image> for ID2D1Resource

§

fn from(value: ID2D1Image) -> Self

Converts to this type from the input type.
§

impl From<ID2D1ImageBrush> for ID2D1Resource

§

fn from(value: ID2D1ImageBrush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1ImageSource> for ID2D1Resource

§

fn from(value: ID2D1ImageSource) -> Self

Converts to this type from the input type.
§

impl From<ID2D1ImageSourceFromWic> for ID2D1Resource

§

fn from(value: ID2D1ImageSourceFromWic) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Ink> for ID2D1Resource

§

fn from(value: ID2D1Ink) -> Self

Converts to this type from the input type.
§

impl From<ID2D1InkStyle> for ID2D1Resource

§

fn from(value: ID2D1InkStyle) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Layer> for ID2D1Resource

§

fn from(value: ID2D1Layer) -> Self

Converts to this type from the input type.
§

impl From<ID2D1LinearGradientBrush> for ID2D1Resource

§

fn from(value: ID2D1LinearGradientBrush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1LookupTable3D> for ID2D1Resource

§

fn from(value: ID2D1LookupTable3D) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Mesh> for ID2D1Resource

§

fn from(value: ID2D1Mesh) -> Self

Converts to this type from the input type.
§

impl From<ID2D1PathGeometry> for ID2D1Resource

§

fn from(value: ID2D1PathGeometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1PathGeometry1> for ID2D1Resource

§

fn from(value: ID2D1PathGeometry1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1RadialGradientBrush> for ID2D1Resource

§

fn from(value: ID2D1RadialGradientBrush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1RectangleGeometry> for ID2D1Resource

§

fn from(value: ID2D1RectangleGeometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1RenderTarget> for ID2D1Resource

§

fn from(value: ID2D1RenderTarget) -> Self

Converts to this type from the input type.
§

impl From<ID2D1Resource> for IUnknown

§

fn from(value: ID2D1Resource) -> Self

Converts to this type from the input type.
§

impl From<ID2D1RoundedRectangleGeometry> for ID2D1Resource

§

fn from(value: ID2D1RoundedRectangleGeometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SolidColorBrush> for ID2D1Resource

§

fn from(value: ID2D1SolidColorBrush) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SpriteBatch> for ID2D1Resource

§

fn from(value: ID2D1SpriteBatch) -> Self

Converts to this type from the input type.
§

impl From<ID2D1StrokeStyle> for ID2D1Resource

§

fn from(value: ID2D1StrokeStyle) -> Self

Converts to this type from the input type.
§

impl From<ID2D1StrokeStyle1> for ID2D1Resource

§

fn from(value: ID2D1StrokeStyle1) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgAttribute> for ID2D1Resource

§

fn from(value: ID2D1SvgAttribute) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgDocument> for ID2D1Resource

§

fn from(value: ID2D1SvgDocument) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgElement> for ID2D1Resource

§

fn from(value: ID2D1SvgElement) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgGlyphStyle> for ID2D1Resource

§

fn from(value: ID2D1SvgGlyphStyle) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgPaint> for ID2D1Resource

§

fn from(value: ID2D1SvgPaint) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgPathData> for ID2D1Resource

§

fn from(value: ID2D1SvgPathData) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgPointCollection> for ID2D1Resource

§

fn from(value: ID2D1SvgPointCollection) -> Self

Converts to this type from the input type.
§

impl From<ID2D1SvgStrokeDashArray> for ID2D1Resource

§

fn from(value: ID2D1SvgStrokeDashArray) -> Self

Converts to this type from the input type.
§

impl From<ID2D1TransformedGeometry> for ID2D1Resource

§

fn from(value: ID2D1TransformedGeometry) -> Self

Converts to this type from the input type.
§

impl From<ID2D1TransformedImageSource> for ID2D1Resource

§

fn from(value: ID2D1TransformedImageSource) -> Self

Converts to this type from the input type.
§

impl Interface for ID2D1Resource

§

const IID: GUID = _

The GUID associated with the interface.
§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

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>,

This casts the given COM interface to [&dyn Any]. Read more
§

fn is_object<T>(&self) -> bool
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

Returns true if the given COM interface refers to an implementation of T. Read more
§

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>,

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>

Attempts to create a [Weak] reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

fn to_ref(&self) -> InterfaceRef<'_, Self>

Creates an InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically, and eliminates the need for dynamic reference count adjustments (AddRef/Release).
§

impl PartialEq for ID2D1Resource

§

fn eq(&self, other: &ID2D1Resource) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for ID2D1Resource

§

impl Send for ID2D1Resource

§

impl StructuralPartialEq for ID2D1Resource

§

impl Sync for ID2D1Resource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.