Struct IConditionFactory2
pub struct IConditionFactory2(/* private fields */);
Implementations§
§impl IConditionFactory2
impl IConditionFactory2
pub unsafe fn CreateTrueFalse<T>(
&self,
fval: bool,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
T: Interface,
pub unsafe fn CreateNegation<P0, T>(
&self,
pcsub: P0,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
P0: Param<ICondition>,
T: Interface,
pub unsafe fn CreateCompoundFromObjectArray<P1, T>(
&self,
ct: CONDITION_TYPE,
poasubs: P1,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
P1: Param<IObjectArray>,
T: Interface,
pub unsafe fn CreateCompoundFromArray<T>(
&self,
ct: CONDITION_TYPE,
ppcondsubs: &[Option<ICondition>],
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
T: Interface,
pub unsafe fn CreateStringLeaf<P2, P3, T>(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
pszvalue: P2,
pszlocalename: P3,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
P2: Param<PCWSTR>,
P3: Param<PCWSTR>,
T: Interface,
pub unsafe fn CreateIntegerLeaf<T>(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
lvalue: i32,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
T: Interface,
pub unsafe fn CreateBooleanLeaf<T>(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
fvalue: bool,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
T: Interface,
pub unsafe fn CreateLeaf<P3, P4, P5, P6, P7, T>(
&self,
propkey: *const PROPERTYKEY,
cop: CONDITION_OPERATION,
propvar: *const PROPVARIANT,
pszsemantictype: P3,
pszlocalename: P4,
ppropertynameterm: P5,
poperationterm: P6,
pvalueterm: P7,
cco: CONDITION_CREATION_OPTIONS,
) -> Result<T>where
P3: Param<PCWSTR>,
P4: Param<PCWSTR>,
P5: Param<IRichChunk>,
P6: Param<IRichChunk>,
P7: Param<IRichChunk>,
T: Interface,
pub unsafe fn ResolveCondition<P0, T>(
&self,
pc: P0,
sqro: STRUCTURED_QUERY_RESOLVE_OPTION,
pstreferencetime: Option<*const SYSTEMTIME>,
) -> Result<T>where
P0: Param<ICondition>,
T: Interface,
Methods from Deref<Target = 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<IUnknown> for IConditionFactory2
impl CanInto<IUnknown> for IConditionFactory2
§impl Clone for IConditionFactory2
impl Clone for IConditionFactory2
§fn clone(&self) -> IConditionFactory2
fn clone(&self) -> IConditionFactory2
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 IConditionFactory2
impl Debug for IConditionFactory2
§impl Deref for IConditionFactory2
impl Deref for IConditionFactory2
§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<&IConditionFactory2> for &IUnknown
impl From<&IConditionFactory2> for &IUnknown
§fn from(value: &IConditionFactory2) -> Self
fn from(value: &IConditionFactory2) -> 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<IConditionFactory2> for IUnknown
impl From<IConditionFactory2> for IUnknown
§fn from(value: IConditionFactory2) -> Self
fn from(value: IConditionFactory2) -> Self
Converts to this type from the input type.
§impl Interface for IConditionFactory2
impl Interface for IConditionFactory2
§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 IConditionFactory2
impl PartialEq for IConditionFactory2
impl Eq for IConditionFactory2
impl StructuralPartialEq for IConditionFactory2
Auto Trait Implementations§
impl Freeze for IConditionFactory2
impl RefUnwindSafe for IConditionFactory2
impl !Send for IConditionFactory2
impl !Sync for IConditionFactory2
impl Unpin for IConditionFactory2
impl UnwindSafe for IConditionFactory2
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