Struct ITextFont2
pub struct ITextFont2(/* private fields */);Implementations§
§impl ITextFont2
 
impl ITextFont2
pub unsafe fn GetCount(&self) -> Result<i32>
pub unsafe fn GetAutoLigatures(&self) -> Result<i32>
pub unsafe fn SetAutoLigatures(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceAlpha(&self) -> Result<i32>
pub unsafe fn SetAutospaceAlpha(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceNumeric(&self) -> Result<i32>
pub unsafe fn SetAutospaceNumeric(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceParens(&self) -> Result<i32>
pub unsafe fn SetAutospaceParens(&self, value: i32) -> Result<()>
pub unsafe fn GetCharRep(&self) -> Result<i32>
pub unsafe fn SetCharRep(&self, value: i32) -> Result<()>
pub unsafe fn GetCompressionMode(&self) -> Result<i32>
pub unsafe fn SetCompressionMode(&self, value: i32) -> Result<()>
pub unsafe fn GetCookie(&self) -> Result<i32>
pub unsafe fn SetCookie(&self, value: i32) -> Result<()>
pub unsafe fn GetDoubleStrike(&self) -> Result<i32>
pub unsafe fn SetDoubleStrike(&self, value: i32) -> Result<()>
pub unsafe fn GetDuplicate2(&self) -> Result<ITextFont2>
pub unsafe fn SetDuplicate2<P0>(&self, pfont: P0) -> Result<()>where
    P0: Param<ITextFont2>,
pub unsafe fn GetLinkType(&self) -> Result<i32>
pub unsafe fn GetMathZone(&self) -> Result<i32>
pub unsafe fn SetMathZone(&self, value: i32) -> Result<()>
pub unsafe fn GetModWidthPairs(&self) -> Result<i32>
pub unsafe fn SetModWidthPairs(&self, value: i32) -> Result<()>
pub unsafe fn GetModWidthSpace(&self) -> Result<i32>
pub unsafe fn SetModWidthSpace(&self, value: i32) -> Result<()>
pub unsafe fn GetOldNumbers(&self) -> Result<i32>
pub unsafe fn SetOldNumbers(&self, value: i32) -> Result<()>
pub unsafe fn GetOverlapping(&self) -> Result<i32>
pub unsafe fn SetOverlapping(&self, value: i32) -> Result<()>
pub unsafe fn GetPositionSubSuper(&self) -> Result<i32>
pub unsafe fn SetPositionSubSuper(&self, value: i32) -> Result<()>
pub unsafe fn GetScaling(&self) -> Result<i32>
pub unsafe fn SetScaling(&self, value: i32) -> Result<()>
pub unsafe fn GetSpaceExtension(&self) -> Result<f32>
pub unsafe fn SetSpaceExtension(&self, value: f32) -> Result<()>
pub unsafe fn GetUnderlinePositionMode(&self) -> Result<i32>
pub unsafe fn SetUnderlinePositionMode(&self, value: i32) -> Result<()>
pub unsafe fn GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> Result<()>
pub unsafe fn GetEffects2( &self, pvalue: *mut i32, pmask: *mut i32, ) -> Result<()>
pub unsafe fn GetProperty(&self, type: i32) -> Result<i32>
pub unsafe fn GetPropertyInfo( &self, index: i32, ptype: *mut i32, pvalue: *mut i32, ) -> Result<()>
pub unsafe fn IsEqual2<P0>(&self, pfont: P0) -> Result<i32>where
    P0: Param<ITextFont2>,
pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> Result<()>
pub unsafe fn SetEffects2(&self, value: i32, mask: i32) -> Result<()>
pub unsafe fn SetProperty(&self, type: i32, value: i32) -> Result<()>
Methods from Deref<Target = ITextFont>§
pub unsafe fn GetDuplicate(&self) -> Result<ITextFont>
pub unsafe fn SetDuplicate<P0>(&self, pfont: P0) -> Result<()>where
    P0: Param<ITextFont>,
pub unsafe fn CanChange(&self) -> Result<i32>
pub unsafe fn IsEqual<P0>(&self, pfont: P0) -> Result<i32>where
    P0: Param<ITextFont>,
pub unsafe fn Reset(&self, value: tomConstants) -> Result<()>
pub unsafe fn GetStyle(&self) -> Result<i32>
pub unsafe fn SetStyle(&self, value: i32) -> Result<()>
pub unsafe fn GetAllCaps(&self) -> Result<i32>
pub unsafe fn SetAllCaps(&self, value: i32) -> Result<()>
pub unsafe fn GetAnimation(&self) -> Result<i32>
pub unsafe fn SetAnimation(&self, value: i32) -> Result<()>
pub unsafe fn GetBackColor(&self) -> Result<i32>
pub unsafe fn SetBackColor(&self, value: i32) -> Result<()>
pub unsafe fn GetBold(&self) -> Result<i32>
pub unsafe fn SetBold(&self, value: i32) -> Result<()>
pub unsafe fn GetEmboss(&self) -> Result<i32>
pub unsafe fn SetEmboss(&self, value: i32) -> Result<()>
pub unsafe fn GetForeColor(&self) -> Result<i32>
pub unsafe fn SetForeColor(&self, value: i32) -> Result<()>
pub unsafe fn GetHidden(&self) -> Result<i32>
pub unsafe fn SetHidden(&self, value: i32) -> Result<()>
pub unsafe fn GetEngrave(&self) -> Result<i32>
pub unsafe fn SetEngrave(&self, value: i32) -> Result<()>
pub unsafe fn GetItalic(&self) -> Result<i32>
pub unsafe fn SetItalic(&self, value: i32) -> Result<()>
pub unsafe fn GetKerning(&self) -> Result<f32>
pub unsafe fn SetKerning(&self, value: f32) -> Result<()>
pub unsafe fn GetLanguageID(&self) -> Result<i32>
pub unsafe fn SetLanguageID(&self, value: i32) -> Result<()>
pub unsafe fn GetName(&self) -> Result<BSTR>
pub unsafe fn SetName(&self, bstr: &BSTR) -> Result<()>
pub unsafe fn GetOutline(&self) -> Result<i32>
pub unsafe fn SetOutline(&self, value: i32) -> Result<()>
pub unsafe fn GetPosition(&self) -> Result<f32>
pub unsafe fn SetPosition(&self, value: f32) -> Result<()>
pub unsafe fn GetProtected(&self) -> Result<i32>
pub unsafe fn SetProtected(&self, value: i32) -> Result<()>
pub unsafe fn GetShadow(&self) -> Result<i32>
pub unsafe fn SetShadow(&self, value: i32) -> Result<()>
pub unsafe fn GetSize(&self) -> Result<f32>
pub unsafe fn SetSize(&self, value: f32) -> Result<()>
pub unsafe fn GetSmallCaps(&self) -> Result<i32>
pub unsafe fn SetSmallCaps(&self, value: i32) -> Result<()>
pub unsafe fn GetSpacing(&self) -> Result<f32>
pub unsafe fn SetSpacing(&self, value: f32) -> Result<()>
pub unsafe fn GetStrikeThrough(&self) -> Result<i32>
pub unsafe fn SetStrikeThrough(&self, value: i32) -> Result<()>
pub unsafe fn GetSubscript(&self) -> Result<i32>
pub unsafe fn SetSubscript(&self, value: i32) -> Result<()>
pub unsafe fn GetSuperscript(&self) -> Result<i32>
pub unsafe fn SetSuperscript(&self, value: i32) -> Result<()>
pub unsafe fn GetUnderline(&self) -> Result<i32>
pub unsafe fn SetUnderline(&self, value: i32) -> Result<()>
pub unsafe fn GetWeight(&self) -> Result<i32>
pub unsafe fn SetWeight(&self, value: i32) -> Result<()>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for ITextFont2
 
impl CanInto<IUnknown> for ITextFont2
§impl Clone for ITextFont2
 
impl Clone for ITextFont2
§fn clone(&self) -> ITextFont2
 
fn clone(&self) -> ITextFont2
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 ITextFont2
 
impl Debug for ITextFont2
§impl Deref for ITextFont2
 
impl Deref for ITextFont2
§impl From<&ITextFont2> for &IDispatch
 
impl From<&ITextFont2> for &IDispatch
§fn from(value: &ITextFont2) -> Self
 
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<&ITextFont2> for &ITextFont
 
impl From<&ITextFont2> for &ITextFont
§fn from(value: &ITextFont2) -> Self
 
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<&ITextFont2> for &IUnknown
 
impl From<&ITextFont2> for &IUnknown
§fn from(value: &ITextFont2) -> Self
 
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for IDispatch
 
impl From<ITextFont2> for IDispatch
§fn from(value: ITextFont2) -> Self
 
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for ITextFont
 
impl From<ITextFont2> for ITextFont
§fn from(value: ITextFont2) -> Self
 
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for IUnknown
 
impl From<ITextFont2> for IUnknown
§fn from(value: ITextFont2) -> Self
 
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl Interface for ITextFont2
 
impl Interface for ITextFont2
§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 ITextFont2
 
impl PartialEq for ITextFont2
impl Eq for ITextFont2
impl StructuralPartialEq for ITextFont2
Auto Trait Implementations§
impl Freeze for ITextFont2
impl RefUnwindSafe for ITextFont2
impl !Send for ITextFont2
impl !Sync for ITextFont2
impl Unpin for ITextFont2
impl UnwindSafe for ITextFont2
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