Struct IConditionFactory
pub struct IConditionFactory(/* private fields */);
Implementations§
§impl IConditionFactory
impl IConditionFactory
pub unsafe fn MakeNot<P0>(
&self,
pcsub: P0,
fsimplify: bool,
) -> Result<ICondition>where
P0: Param<ICondition>,
pub unsafe fn MakeAndOr<P1>(
&self,
ct: CONDITION_TYPE,
peusubs: P1,
fsimplify: bool,
) -> Result<ICondition>where
P1: Param<IEnumUnknown>,
pub unsafe fn MakeLeaf<P0, P2, P4, P5, P6>(
&self,
pszpropertyname: P0,
cop: CONDITION_OPERATION,
pszvaluetype: P2,
ppropvar: *const PROPVARIANT,
ppropertynameterm: P4,
poperationterm: P5,
pvalueterm: P6,
fexpand: bool,
) -> Result<ICondition>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
P4: Param<IRichChunk>,
P5: Param<IRichChunk>,
P6: Param<IRichChunk>,
pub unsafe fn Resolve<P0>(
&self,
pc: P0,
sqro: STRUCTURED_QUERY_RESOLVE_OPTION,
pstreferencetime: Option<*const SYSTEMTIME>,
) -> Result<ICondition>where
P0: Param<ICondition>,
Trait Implementations§
§impl CanInto<IConditionFactory> for IConditionFactory2
impl CanInto<IConditionFactory> for IConditionFactory2
§impl CanInto<IConditionFactory> for IQuerySolution
impl CanInto<IConditionFactory> for IQuerySolution
§impl CanInto<IUnknown> for IConditionFactory
impl CanInto<IUnknown> for IConditionFactory
§impl Clone for IConditionFactory
impl Clone for IConditionFactory
§fn clone(&self) -> IConditionFactory
fn clone(&self) -> IConditionFactory
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 IConditionFactory
impl Debug for IConditionFactory
§impl From<&IConditionFactory> for &IUnknown
impl From<&IConditionFactory> for &IUnknown
§fn from(value: &IConditionFactory) -> Self
fn from(value: &IConditionFactory) -> Self
Converts to this type from the input type.
§impl From<&IConditionFactory2> for &IConditionFactory
impl From<&IConditionFactory2> for &IConditionFactory
§fn from(value: &IConditionFactory2) -> Self
fn from(value: &IConditionFactory2) -> Self
Converts to this type from the input type.
§impl From<&IQuerySolution> for &IConditionFactory
impl From<&IQuerySolution> for &IConditionFactory
§fn from(value: &IQuerySolution) -> Self
fn from(value: &IQuerySolution) -> Self
Converts to this type from the input type.
§impl From<IConditionFactory> for IUnknown
impl From<IConditionFactory> for IUnknown
§fn from(value: IConditionFactory) -> Self
fn from(value: IConditionFactory) -> Self
Converts to this type from the input type.
§impl From<IConditionFactory2> for IConditionFactory
impl From<IConditionFactory2> for IConditionFactory
§fn from(value: IConditionFactory2) -> Self
fn from(value: IConditionFactory2) -> Self
Converts to this type from the input type.
§impl From<IQuerySolution> for IConditionFactory
impl From<IQuerySolution> for IConditionFactory
§fn from(value: IQuerySolution) -> Self
fn from(value: IQuerySolution) -> Self
Converts to this type from the input type.
§impl Interface for IConditionFactory
impl Interface for IConditionFactory
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IConditionFactory
impl PartialEq for IConditionFactory
impl Eq for IConditionFactory
impl StructuralPartialEq for IConditionFactory
Auto Trait Implementations§
impl Freeze for IConditionFactory
impl RefUnwindSafe for IConditionFactory
impl !Send for IConditionFactory
impl !Sync for IConditionFactory
impl Unpin for IConditionFactory
impl UnwindSafe for IConditionFactory
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