pub struct ISchemaParticle(/* private fields */);
Implementations§
§impl ISchemaParticle
impl ISchemaParticle
pub unsafe fn name(&self) -> Result<BSTR>
pub unsafe fn namespaceURI(&self) -> Result<BSTR>
pub unsafe fn schema(&self) -> Result<ISchema>
pub unsafe fn id(&self) -> Result<BSTR>
pub unsafe fn itemType(&self) -> Result<SOMITEMTYPE>
pub unsafe fn unhandledAttributes(&self) -> Result<IVBSAXAttributes>
pub unsafe fn writeAnnotation<P0>(
&self,
annotationsink: P0
) -> Result<VARIANT_BOOL>where
P0: IntoParam<IUnknown>,
pub unsafe fn minOccurs(&self) -> Result<VARIANT>
pub unsafe fn maxOccurs(&self) -> Result<VARIANT>
Trait Implementations§
§impl Clone for ISchemaParticle
impl Clone for ISchemaParticle
§fn clone(&self) -> ISchemaParticle
fn clone(&self) -> ISchemaParticle
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 ISchemaParticle
impl Debug for ISchemaParticle
§impl From<&ISchemaAny> for &ISchemaParticle
impl From<&ISchemaAny> for &ISchemaParticle
§fn from(value: &ISchemaAny) -> Self
fn from(value: &ISchemaAny) -> Self
Converts to this type from the input type.
§impl From<&ISchemaElement> for &ISchemaParticle
impl From<&ISchemaElement> for &ISchemaParticle
§fn from(value: &ISchemaElement) -> Self
fn from(value: &ISchemaElement) -> Self
Converts to this type from the input type.
§impl From<&ISchemaModelGroup> for &ISchemaParticle
impl From<&ISchemaModelGroup> for &ISchemaParticle
§fn from(value: &ISchemaModelGroup) -> Self
fn from(value: &ISchemaModelGroup) -> Self
Converts to this type from the input type.
§impl From<&ISchemaParticle> for &IDispatch
impl From<&ISchemaParticle> for &IDispatch
§fn from(value: &ISchemaParticle) -> Self
fn from(value: &ISchemaParticle) -> Self
Converts to this type from the input type.
§impl From<&ISchemaParticle> for &ISchemaItem
impl From<&ISchemaParticle> for &ISchemaItem
§fn from(value: &ISchemaParticle) -> Self
fn from(value: &ISchemaParticle) -> Self
Converts to this type from the input type.
§impl From<&ISchemaParticle> for &IUnknown
impl From<&ISchemaParticle> for &IUnknown
§fn from(value: &ISchemaParticle) -> Self
fn from(value: &ISchemaParticle) -> Self
Converts to this type from the input type.
§impl From<ISchemaAny> for ISchemaParticle
impl From<ISchemaAny> for ISchemaParticle
§fn from(value: ISchemaAny) -> Self
fn from(value: ISchemaAny) -> Self
Converts to this type from the input type.
§impl From<ISchemaElement> for ISchemaParticle
impl From<ISchemaElement> for ISchemaParticle
§fn from(value: ISchemaElement) -> Self
fn from(value: ISchemaElement) -> Self
Converts to this type from the input type.
§impl From<ISchemaModelGroup> for ISchemaParticle
impl From<ISchemaModelGroup> for ISchemaParticle
§fn from(value: ISchemaModelGroup) -> Self
fn from(value: ISchemaModelGroup) -> Self
Converts to this type from the input type.
§impl From<ISchemaParticle> for IDispatch
impl From<ISchemaParticle> for IDispatch
§fn from(value: ISchemaParticle) -> Self
fn from(value: ISchemaParticle) -> Self
Converts to this type from the input type.
§impl From<ISchemaParticle> for ISchemaItem
impl From<ISchemaParticle> for ISchemaItem
§fn from(value: ISchemaParticle) -> Self
fn from(value: ISchemaParticle) -> Self
Converts to this type from the input type.
§impl From<ISchemaParticle> for IUnknown
impl From<ISchemaParticle> for IUnknown
§fn from(value: ISchemaParticle) -> Self
fn from(value: ISchemaParticle) -> Self
Converts to this type from the input type.
§impl Interface for ISchemaParticle
impl Interface for ISchemaParticle
§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§impl PartialEq for ISchemaParticle
impl PartialEq for ISchemaParticle
§fn eq(&self, other: &ISchemaParticle) -> bool
fn eq(&self, other: &ISchemaParticle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISchemaParticle
impl StructuralPartialEq for ISchemaParticle
Auto Trait Implementations§
impl RefUnwindSafe for ISchemaParticle
impl !Send for ISchemaParticle
impl !Sync for ISchemaParticle
impl Unpin for ISchemaParticle
impl UnwindSafe for ISchemaParticle
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