Struct winsafe::co::TMT

source ·
pub struct TMT(/* private fields */);
Available on crate features kernel and uxtheme only.
Expand description

Theme property identifiers (i32).

Implementations§

source§

impl TMT

source

pub const unsafe fn from_raw(v: i32) -> Self

Constructs a new object by wrapping the given integer value.

§Safety

Be sure the given value is meaningful for the actual type.

source

pub const fn raw(&self) -> i32

Returns the primitive integer underlying value.

This method is similar to Into, but it is const, therefore it can be used in const contexts.

source§

impl TMT

source

pub const DIBDATA: Self = _

source

pub const GLYPHDIBDATA: Self = _

source

pub const ENUM: Self = _

source

pub const STRING: Self = _

source

pub const INT: Self = _

source

pub const BOOL: Self = _

source

pub const COLOR: Self = _

source

pub const MARGINS: Self = _

source

pub const FILENAME: Self = _

source

pub const SIZE: Self = _

source

pub const POSITION: Self = _

source

pub const RECT: Self = _

source

pub const FONT: Self = _

source

pub const INTLIST: Self = _

source

pub const HBITMAP: Self = _

source

pub const DISKSTREAM: Self = _

source

pub const STREAM: Self = _

source

pub const BITMAPREF: Self = _

source

pub const FLOAT: Self = _

source

pub const FLOATLIST: Self = _

source

pub const COLORSCHEMES: Self = _

source

pub const SIZES: Self = _

source

pub const CHARSET: Self = _

source

pub const NAME: Self = _

source

pub const DISPLAYNAME: Self = _

source

pub const TOOLTIP: Self = _

source

pub const COMPANY: Self = _

source

pub const AUTHOR: Self = _

source

pub const COPYRIGHT: Self = _

source

pub const URL: Self = _

source

pub const VERSION: Self = _

source

pub const DESCRIPTION: Self = _

source

pub const FIRST_RCSTRING_NAME: Self = _

source

pub const LAST_RCSTRING_NAME: Self = _

source

pub const CAPTIONFONT: Self = _

source

pub const SMALLCAPTIONFONT: Self = _

source

pub const MENUFONT: Self = _

source

pub const STATUSFONT: Self = _

source

pub const MSGBOXFONT: Self = _

source

pub const ICONTITLEFONT: Self = _

source

pub const HEADING1FONT: Self = _

source

pub const HEADING2FONT: Self = _

source

pub const BODYFONT: Self = _

source

pub const FIRSTFONT: Self = _

source

pub const LASTFONT: Self = _

source

pub const FLATMENUS: Self = _

source

pub const FIRSTBOOL: Self = _

source

pub const LASTBOOL: Self = _

source

pub const SIZINGBORDERWIDTH: Self = _

source

pub const SCROLLBARWIDTH: Self = _

source

pub const SCROLLBARHEIGHT: Self = _

source

pub const CAPTIONBARWIDTH: Self = _

source

pub const CAPTIONBARHEIGHT: Self = _

source

pub const SMCAPTIONBARWIDTH: Self = _

source

pub const SMCAPTIONBARHEIGHT: Self = _

source

pub const MENUBARWIDTH: Self = _

source

pub const MENUBARHEIGHT: Self = _

source

pub const PADDEDBORDERWIDTH: Self = _

source

pub const FIRSTSIZE: Self = _

source

pub const LASTSIZE: Self = _

source

pub const MINCOLORDEPTH: Self = _

source

pub const FIRSTINT: Self = _

source

pub const LASTINT: Self = _

source

pub const CSSNAME: Self = _

source

pub const XMLNAME: Self = _

source

pub const LASTUPDATED: Self = _

source

pub const ALIAS: Self = _

source

pub const FIRSTSTRING: Self = _

source

pub const LASTSTRING: Self = _

source

pub const SCROLLBAR: Self = _

source

pub const BACKGROUND: Self = _

source

pub const ACTIVECAPTION: Self = _

source

pub const INACTIVECAPTION: Self = _

source

pub const MENU: Self = _

source

pub const WINDOW: Self = _

source

pub const WINDOWFRAME: Self = _

source

pub const MENUTEXT: Self = _

source

pub const WINDOWTEXT: Self = _

source

pub const CAPTIONTEXT: Self = _

source

pub const ACTIVEBORDER: Self = _

source

pub const INACTIVEBORDER: Self = _

source

pub const APPWORKSPACE: Self = _

source

pub const HIGHLIGHT: Self = _

source

pub const HIGHLIGHTTEXT: Self = _

source

pub const BTNFACE: Self = _

source

pub const BTNSHADOW: Self = _

source

pub const GRAYTEXT: Self = _

source

pub const BTNTEXT: Self = _

source

pub const INACTIVECAPTIONTEXT: Self = _

source

pub const BTNHIGHLIGHT: Self = _

source

pub const DKSHADOW3D: Self = _

source

pub const LIGHT3D: Self = _

source

pub const INFOTEXT: Self = _

source

pub const INFOBK: Self = _

source

pub const BUTTONALTERNATEFACE: Self = _

source

pub const HOTTRACKING: Self = _

source

pub const GRADIENTACTIVECAPTION: Self = _

source

pub const GRADIENTINACTIVECAPTION: Self = _

source

pub const MENUHILIGHT: Self = _

source

pub const MENUBAR: Self = _

source

pub const FIRSTCOLOR: Self = _

source

pub const LASTCOLOR: Self = _

source

pub const FROMHUE1: Self = _

source

pub const FROMHUE2: Self = _

source

pub const FROMHUE3: Self = _

source

pub const FROMHUE4: Self = _

source

pub const FROMHUE5: Self = _

source

pub const TOHUE1: Self = _

source

pub const TOHUE2: Self = _

source

pub const TOHUE3: Self = _

source

pub const TOHUE4: Self = _

source

pub const TOHUE5: Self = _

source

pub const FROMCOLOR1: Self = _

source

pub const FROMCOLOR2: Self = _

source

pub const FROMCOLOR3: Self = _

source

pub const FROMCOLOR4: Self = _

source

pub const FROMCOLOR5: Self = _

source

pub const TOCOLOR1: Self = _

source

pub const TOCOLOR2: Self = _

source

pub const TOCOLOR3: Self = _

source

pub const TOCOLOR4: Self = _

source

pub const TOCOLOR5: Self = _

source

pub const TRANSPARENT: Self = _

source

pub const AUTOSIZE: Self = _

source

pub const BORDERONLY: Self = _

source

pub const COMPOSITED: Self = _

source

pub const BGFILL: Self = _

source

pub const GLYPHTRANSPARENT: Self = _

source

pub const GLYPHONLY: Self = _

source

pub const ALWAYSSHOWSIZINGBAR: Self = _

source

pub const MIRRORIMAGE: Self = _

source

pub const UNIFORMSIZING: Self = _

source

pub const INTEGRALSIZING: Self = _

source

pub const SOURCEGROW: Self = _

source

pub const SOURCESHRINK: Self = _

source

pub const DRAWBORDERS: Self = _

source

pub const NOETCHEDEFFECT: Self = _

source

pub const TEXTAPPLYOVERLAY: Self = _

source

pub const TEXTGLOW: Self = _

source

pub const TEXTITALIC: Self = _

source

pub const COMPOSITEDOPAQUE: Self = _

source

pub const LOCALIZEDMIRRORIMAGE: Self = _

source

pub const IMAGECOUNT: Self = _

source

pub const ALPHALEVEL: Self = _

source

pub const BORDERSIZE: Self = _

source

pub const ROUNDCORNERWIDTH: Self = _

source

pub const ROUNDCORNERHEIGHT: Self = _

source

pub const GRADIENTRATIO1: Self = _

source

pub const GRADIENTRATIO2: Self = _

source

pub const GRADIENTRATIO3: Self = _

source

pub const GRADIENTRATIO4: Self = _

source

pub const GRADIENTRATIO5: Self = _

source

pub const PROGRESSCHUNKSIZE: Self = _

source

pub const PROGRESSSPACESIZE: Self = _

source

pub const SATURATION: Self = _

source

pub const TEXTBORDERSIZE: Self = _

source

pub const ALPHATHRESHOLD: Self = _

source

pub const WIDTH: Self = _

source

pub const HEIGHT: Self = _

source

pub const GLYPHINDEX: Self = _

source

pub const TRUESIZESTRETCHMARK: Self = _

source

pub const MINDPI1: Self = _

source

pub const MINDPI2: Self = _

source

pub const MINDPI3: Self = _

source

pub const MINDPI4: Self = _

source

pub const MINDPI5: Self = _

source

pub const TEXTGLOWSIZE: Self = _

source

pub const FRAMESPERSECOND: Self = _

source

pub const PIXELSPERFRAME: Self = _

source

pub const ANIMATIONDELAY: Self = _

source

pub const GLOWINTENSITY: Self = _

source

pub const OPACITY: Self = _

source

pub const COLORIZATIONCOLOR: Self = _

source

pub const COLORIZATIONOPACITY: Self = _

source

pub const MINDPI6: Self = _

source

pub const MINDPI7: Self = _

source

pub const GLYPHFONT: Self = _

source

pub const IMAGEFILE: Self = _

source

pub const IMAGEFILE1: Self = _

source

pub const IMAGEFILE2: Self = _

source

pub const IMAGEFILE3: Self = _

source

pub const IMAGEFILE4: Self = _

source

pub const IMAGEFILE5: Self = _

source

pub const GLYPHIMAGEFILE: Self = _

source

pub const IMAGEFILE6: Self = _

source

pub const IMAGEFILE7: Self = _

source

pub const TEXT: Self = _

source

pub const CLASSICVALUE: Self = _

source

pub const OFFSET: Self = _

source

pub const TEXTSHADOWOFFSET: Self = _

source

pub const MINSIZE: Self = _

source

pub const MINSIZE1: Self = _

source

pub const MINSIZE2: Self = _

source

pub const MINSIZE3: Self = _

source

pub const MINSIZE4: Self = _

source

pub const MINSIZE5: Self = _

source

pub const NORMALSIZE: Self = _

source

pub const MINSIZE6: Self = _

source

pub const MINSIZE7: Self = _

source

pub const SIZINGMARGINS: Self = _

source

pub const CONTENTMARGINS: Self = _

source

pub const CAPTIONMARGINS: Self = _

source

pub const BORDERCOLOR: Self = _

source

pub const FILLCOLOR: Self = _

source

pub const TEXTCOLOR: Self = _

source

pub const EDGELIGHTCOLOR: Self = _

source

pub const EDGEHIGHLIGHTCOLOR: Self = _

source

pub const EDGESHADOWCOLOR: Self = _

source

pub const EDGEDKSHADOWCOLOR: Self = _

source

pub const EDGEFILLCOLOR: Self = _

source

pub const TRANSPARENTCOLOR: Self = _

source

pub const GRADIENTCOLOR1: Self = _

source

pub const GRADIENTCOLOR2: Self = _

source

pub const GRADIENTCOLOR3: Self = _

source

pub const GRADIENTCOLOR4: Self = _

source

pub const GRADIENTCOLOR5: Self = _

source

pub const SHADOWCOLOR: Self = _

source

pub const GLOWCOLOR: Self = _

source

pub const TEXTBORDERCOLOR: Self = _

source

pub const TEXTSHADOWCOLOR: Self = _

source

pub const GLYPHTEXTCOLOR: Self = _

source

pub const GLYPHTRANSPARENTCOLOR: Self = _

source

pub const FILLCOLORHINT: Self = _

source

pub const BORDERCOLORHINT: Self = _

source

pub const ACCENTCOLORHINT: Self = _

source

pub const TEXTCOLORHINT: Self = _

source

pub const HEADING1TEXTCOLOR: Self = _

source

pub const HEADING2TEXTCOLOR: Self = _

source

pub const BODYTEXTCOLOR: Self = _

source

pub const BGTYPE: Self = _

source

pub const BORDERTYPE: Self = _

source

pub const FILLTYPE: Self = _

source

pub const SIZINGTYPE: Self = _

source

pub const HALIGN: Self = _

source

pub const CONTENTALIGNMENT: Self = _

source

pub const VALIGN: Self = _

source

pub const OFFSETTYPE: Self = _

source

pub const ICONEFFECT: Self = _

source

pub const TEXTSHADOWTYPE: Self = _

source

pub const IMAGELAYOUT: Self = _

source

pub const GLYPHTYPE: Self = _

source

pub const IMAGESELECTTYPE: Self = _

source

pub const GLYPHFONTSIZINGTYPE: Self = _

source

pub const TRUESIZESCALINGTYPE: Self = _

source

pub const USERPICTURE: Self = _

source

pub const DEFAULTPANESIZE: Self = _

source

pub const BLENDCOLOR: Self = _

source

pub const CUSTOMSPLITRECT: Self = _

source

pub const ANIMATIONBUTTONRECT: Self = _

source

pub const ANIMATIONDURATION: Self = _

source

pub const TRANSITIONDURATIONS: Self = _

source

pub const SCALEDBACKGROUND: Self = _

source

pub const ATLASIMAGE: Self = _

source

pub const ATLASINPUTIMAGE: Self = _

source

pub const ATLASRECT: Self = _

Trait Implementations§

source§

impl AsRef<i32> for TMT

source§

fn as_ref(&self) -> &i32

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Binary for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Clone for TMT

source§

fn clone(&self) -> TMT

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TMT

source§

fn default() -> TMT

Returns the “default value” for a type. Read more
source§

impl Display for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<TMT> for i32

source§

fn from(v: TMT) -> Self

Converts to this type from the input type.
source§

impl Hash for TMT

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntUnderlying for TMT

§

type Raw = i32

Available on crate feature kernel only.
The underlying raw integer type.
source§

unsafe fn as_mut(&mut self) -> &mut Self::Raw

Available on crate feature kernel only.
Returns a mutable reference to the underlying raw value. Read more
source§

impl LowerHex for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Octal for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Ord for TMT

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for TMT

source§

fn eq(&self, other: &TMT) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for TMT

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl UpperHex for TMT

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Copy for TMT

source§

impl Eq for TMT

source§

impl NativeConst for TMT

source§

impl Send for TMT

source§

impl StructuralPartialEq for TMT

Auto Trait Implementations§

§

impl Freeze for TMT

§

impl RefUnwindSafe for TMT

§

impl Sync for TMT

§

impl Unpin for TMT

§

impl UnwindSafe for TMT

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.