Struct windows::UI::Text::ITextCharacterFormat
pub struct ITextCharacterFormat(/* private fields */);
Implementations§
§impl ITextCharacterFormat
impl ITextCharacterFormat
pub fn AllCaps(&self) -> Result<FormatEffect>
pub fn SetAllCaps(&self, value: FormatEffect) -> Result<()>
pub fn BackgroundColor(&self) -> Result<Color>
pub fn SetBackgroundColor(&self, value: Color) -> Result<()>
pub fn Bold(&self) -> Result<FormatEffect>
pub fn SetBold(&self, value: FormatEffect) -> Result<()>
pub fn FontStretch(&self) -> Result<FontStretch>
pub fn SetFontStretch(&self, value: FontStretch) -> Result<()>
pub fn FontStyle(&self) -> Result<FontStyle>
pub fn SetFontStyle(&self, value: FontStyle) -> Result<()>
pub fn ForegroundColor(&self) -> Result<Color>
pub fn SetForegroundColor(&self, value: Color) -> Result<()>
pub fn Hidden(&self) -> Result<FormatEffect>
pub fn SetHidden(&self, value: FormatEffect) -> Result<()>
pub fn Italic(&self) -> Result<FormatEffect>
pub fn SetItalic(&self, value: FormatEffect) -> Result<()>
pub fn Kerning(&self) -> Result<f32>
pub fn SetKerning(&self, value: f32) -> Result<()>
pub fn LanguageTag(&self) -> Result<HSTRING>
pub fn SetLanguageTag(&self, value: &HSTRING) -> Result<()>
pub fn LinkType(&self) -> Result<LinkType>
pub fn Name(&self) -> Result<HSTRING>
pub fn SetName(&self, value: &HSTRING) -> Result<()>
pub fn Outline(&self) -> Result<FormatEffect>
pub fn SetOutline(&self, value: FormatEffect) -> Result<()>
pub fn Position(&self) -> Result<f32>
pub fn SetPosition(&self, value: f32) -> Result<()>
pub fn ProtectedText(&self) -> Result<FormatEffect>
pub fn SetProtectedText(&self, value: FormatEffect) -> Result<()>
pub fn Size(&self) -> Result<f32>
pub fn SetSize(&self, value: f32) -> Result<()>
pub fn SmallCaps(&self) -> Result<FormatEffect>
pub fn SetSmallCaps(&self, value: FormatEffect) -> Result<()>
pub fn Spacing(&self) -> Result<f32>
pub fn SetSpacing(&self, value: f32) -> Result<()>
pub fn Strikethrough(&self) -> Result<FormatEffect>
pub fn SetStrikethrough(&self, value: FormatEffect) -> Result<()>
pub fn Subscript(&self) -> Result<FormatEffect>
pub fn SetSubscript(&self, value: FormatEffect) -> Result<()>
pub fn Superscript(&self) -> Result<FormatEffect>
pub fn SetSuperscript(&self, value: FormatEffect) -> Result<()>
pub fn TextScript(&self) -> Result<TextScript>
pub fn SetTextScript(&self, value: TextScript) -> Result<()>
pub fn Underline(&self) -> Result<UnderlineType>
pub fn SetUnderline(&self, value: UnderlineType) -> Result<()>
pub fn Weight(&self) -> Result<i32>
pub fn SetWeight(&self, value: i32) -> Result<()>
pub fn SetClone<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<ITextCharacterFormat>,
pub fn GetClone(&self) -> Result<ITextCharacterFormat>
pub fn IsEqual<P0>(&self, format: P0) -> Result<bool>where
P0: IntoParam<ITextCharacterFormat>,
Trait Implementations§
§impl Clone for ITextCharacterFormat
impl Clone for ITextCharacterFormat
§fn clone(&self) -> ITextCharacterFormat
fn clone(&self) -> ITextCharacterFormat
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 ITextCharacterFormat
impl Debug for ITextCharacterFormat
§impl From<&ITextCharacterFormat> for &IInspectable
impl From<&ITextCharacterFormat> for &IInspectable
§fn from(value: &ITextCharacterFormat) -> Self
fn from(value: &ITextCharacterFormat) -> Self
Converts to this type from the input type.
§impl From<&ITextCharacterFormat> for &IUnknown
impl From<&ITextCharacterFormat> for &IUnknown
§fn from(value: &ITextCharacterFormat) -> Self
fn from(value: &ITextCharacterFormat) -> Self
Converts to this type from the input type.
§impl From<ITextCharacterFormat> for IInspectable
impl From<ITextCharacterFormat> for IInspectable
§fn from(value: ITextCharacterFormat) -> Self
fn from(value: ITextCharacterFormat) -> Self
Converts to this type from the input type.
§impl From<ITextCharacterFormat> for IUnknown
impl From<ITextCharacterFormat> for IUnknown
§fn from(value: ITextCharacterFormat) -> Self
fn from(value: ITextCharacterFormat) -> Self
Converts to this type from the input type.
§impl Interface for ITextCharacterFormat
impl Interface for ITextCharacterFormat
§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 ITextCharacterFormat
impl PartialEq for ITextCharacterFormat
§fn eq(&self, other: &ITextCharacterFormat) -> bool
fn eq(&self, other: &ITextCharacterFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITextCharacterFormat
impl StructuralPartialEq for ITextCharacterFormat
Auto Trait Implementations§
impl RefUnwindSafe for ITextCharacterFormat
impl !Send for ITextCharacterFormat
impl !Sync for ITextCharacterFormat
impl Unpin for ITextCharacterFormat
impl UnwindSafe for ITextCharacterFormat
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