Trait winsafe::prelude::NativeBitflag

source ·
pub trait NativeBitflag: NativeConst + BitAnd + BitAndAssign + BitOr + BitOrAssign + BitXor + BitXorAssign + Not {
    // Required method
    fn has(&self, other: Self) -> bool;
}
Available on crate feature kernel only.
Expand description

A native typed bitflag constant.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Required Methods§

source

fn has(&self, other: Self) -> bool

Tells whether other bitflag style is present.

Equivalent to (val & other) != 0.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl NativeBitflag for ACCELF

Available on crate feature user only.
source§

impl NativeBitflag for ACCESS_RIGHTS

source§

impl NativeBitflag for ADVF

Available on crate feature ole only.
source§

impl NativeBitflag for BCSIF

Available on crate feature comctl only.
source§

impl NativeBitflag for BCSS

Available on crate feature comctl only.
source§

impl NativeBitflag for BS

Available on crate feature user only.
source§

impl NativeBitflag for BSF

Available on crate feature user only.
source§

impl NativeBitflag for BSM

Available on crate feature user only.
source§

impl NativeBitflag for BTNS

Available on crate feature comctl only.
source§

impl NativeBitflag for CBES_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for CBS

Available on crate feature user only.
source§

impl NativeBitflag for CC

Available on crate feature user only.
source§

impl NativeBitflag for CDDS

Available on crate feature comctl only.
source§

impl NativeBitflag for CDIS

Available on crate feature comctl only.
source§

impl NativeBitflag for CDS

Available on crate feature user only.
source§

impl NativeBitflag for CLAIM_SECURITY_ATTRIBUTE

source§

impl NativeBitflag for COINIT

Available on crate feature ole only.
source§

impl NativeBitflag for CONSOLE

source§

impl NativeBitflag for CREATE

source§

impl NativeBitflag for CREATE_EVENT

source§

impl NativeBitflag for CS

Available on crate feature user only.
source§

impl NativeBitflag for CURSOR

Available on crate feature user only.
source§

impl NativeBitflag for DBTF

source§

impl NativeBitflag for DC

Available on crate feature user only.
source§

impl NativeBitflag for DDL

Available on crate feature user only.
source§

impl NativeBitflag for DESKTOP_RIGHTS

Available on crate feature user only.
source§

impl NativeBitflag for DISPLAY_DEVICE

Available on crate feature user only.
source§

impl NativeBitflag for DM

Available on crate feature user only.
source§

impl NativeBitflag for DMDISPLAYFLAGS

Available on crate feature user only.
source§

impl NativeBitflag for DT

Available on crate feature user only.
source§

impl NativeBitflag for DTS

Available on crate feature comctl only.
source§

impl NativeBitflag for DXGI_ENUM_MODES

Available on crate feature dxgi only.
source§

impl NativeBitflag for DXGI_MAP

Available on crate feature dxgi only.
source§

impl NativeBitflag for DXGI_MWA

Available on crate feature dxgi only.
source§

impl NativeBitflag for DXGI_PRESENT

Available on crate feature dxgi only.
source§

impl NativeBitflag for DXGI_SWAP_CHAIN_FLAG

Available on crate feature dxgi only.
source§

impl NativeBitflag for DXGI_USAGE

Available on crate feature dxgi only.
source§

impl NativeBitflag for EC

Available on crate feature user only.
source§

impl NativeBitflag for EDD

Available on crate feature user only.
source§

impl NativeBitflag for EDS

Available on crate feature user only.
source§

impl NativeBitflag for EIMES

Available on crate feature user only.
source§

impl NativeBitflag for EMF

Available on crate feature comctl only.
source§

impl NativeBitflag for ENDSESSION

Available on crate feature user only.
source§

impl NativeBitflag for ES

Available on crate feature user only.
source§

impl NativeBitflag for EVENT_RIGHTS

source§

impl NativeBitflag for EWX

Available on crate feature user only.
source§

impl NativeBitflag for FILE_ATTRIBUTE

source§

impl NativeBitflag for FILE_CACHE

source§

impl NativeBitflag for FILE_FLAG

source§

impl NativeBitflag for FILE_MAP

source§

impl NativeBitflag for FILE_SECURITY

source§

impl NativeBitflag for FILE_SHARE

source§

impl NativeBitflag for FILE_VOL

source§

impl NativeBitflag for FOF

Available on crate feature shell only.
source§

impl NativeBitflag for FORMAT_MESSAGE

source§

impl NativeBitflag for FOS

Available on crate feature shell only.
source§

impl NativeBitflag for GDT

Available on crate feature comctl only.
source§

impl NativeBitflag for GENERIC

source§

impl NativeBitflag for GMDI

Available on crate feature user only.
source§

impl NativeBitflag for GMEM

source§

impl NativeBitflag for GPS

Available on crate feature shell only.
source§

impl NativeBitflag for GR

source§

impl NativeBitflag for GUI

Available on crate feature user only.
source§

impl NativeBitflag for HDF

Available on crate feature comctl only.
source§

impl NativeBitflag for HDI

Available on crate feature comctl only.
source§

impl NativeBitflag for HDS

Available on crate feature comctl only.
source§

impl NativeBitflag for HEAP_ALLOC

source§

impl NativeBitflag for HEAP_CREATE

source§

impl NativeBitflag for HEAP_REALLOC

source§

impl NativeBitflag for HEAP_SIZE

source§

impl NativeBitflag for HHT

Available on crate feature comctl only.
source§

impl NativeBitflag for HICF

Available on crate feature comctl only.
source§

impl NativeBitflag for HOTKEYF

Available on crate feature shell only.
source§

impl NativeBitflag for ICC

Available on crate feature comctl only.
source§

impl NativeBitflag for ILC

Available on crate feature comctl only.
source§

impl NativeBitflag for ILD

Available on crate feature comctl only.
source§

impl NativeBitflag for ILS

Available on crate feature comctl only.
source§

impl NativeBitflag for ISMEX

Available on crate feature user only.
source§

impl NativeBitflag for KEY

source§

impl NativeBitflag for KEYEVENTF

Available on crate feature user only.
source§

impl NativeBitflag for KF

Available on crate feature shell only.
source§

impl NativeBitflag for LBS

Available on crate feature user only.
source§

impl NativeBitflag for LIF

Available on crate feature comctl only.
source§

impl NativeBitflag for LIS

Available on crate feature comctl only.
source§

impl NativeBitflag for LMEM

source§

impl NativeBitflag for LOCKTYPE

Available on crate feature ole only.
source§

impl NativeBitflag for LR

Available on crate feature gdi only.
source§

impl NativeBitflag for LVBKIF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVCF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVCFMT_C

Available on crate feature comctl only.
source§

impl NativeBitflag for LVCFMT_I

Available on crate feature comctl only.
source§

impl NativeBitflag for LVFI

Available on crate feature comctl only.
source§

impl NativeBitflag for LVGA_FH

Available on crate feature comctl only.
source§

impl NativeBitflag for LVGF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVGMF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVGS

Available on crate feature comctl only.
source§

impl NativeBitflag for LVHT

Available on crate feature comctl only.
source§

impl NativeBitflag for LVIF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVIS

Available on crate feature comctl only.
source§

impl NativeBitflag for LVKF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVNI

Available on crate feature comctl only.
source§

impl NativeBitflag for LVS

Available on crate feature comctl only.
source§

impl NativeBitflag for LVSICF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVS_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for LVTVIF

Available on crate feature comctl only.
source§

impl NativeBitflag for LVTVIM

Available on crate feature comctl only.
source§

impl NativeBitflag for LWA

Available on crate feature user only.
source§

impl NativeBitflag for LWS

Available on crate feature comctl only.
source§

impl NativeBitflag for MB

Available on crate feature user only.
source§

impl NativeBitflag for MBC

source§

impl NativeBitflag for MCGIF

Available on crate feature comctl only.
source§

impl NativeBitflag for MCHT

Available on crate feature comctl only.
source§

impl NativeBitflag for MCS

Available on crate feature comctl only.
source§

impl NativeBitflag for MF

Available on crate feature user only.
source§

impl NativeBitflag for MFASYNC

Available on crate feature mf only.
source§

impl NativeBitflag for MFCLOCK_CHARACTERISTICS_FLAG

Available on crate feature mf only.
source§

impl NativeBitflag for MFCLOCK_RELATIONAL_FLAG

Available on crate feature mf only.
source§

impl NativeBitflag for MFMEDIASOURCE

Available on crate feature mf only.
source§

impl NativeBitflag for MFS

Available on crate feature user only.
source§

impl NativeBitflag for MFSESSIONCAP

Available on crate feature mf only.
source§

impl NativeBitflag for MFSESSION_GETFULLTOPOLOGY

Available on crate feature mf only.
source§

impl NativeBitflag for MFSESSION_SETTOPOLOGY

Available on crate feature mf only.
source§

impl NativeBitflag for MFT

Available on crate feature user only.
source§

impl NativeBitflag for MFVideoRenderPrefs

Available on crate feature mf only.
source§

impl NativeBitflag for MIIM

Available on crate feature user only.
source§

impl NativeBitflag for MIM

Available on crate feature user only.
source§

impl NativeBitflag for MK

Available on crate feature user only.
source§

impl NativeBitflag for MNS

Available on crate feature user only.
source§

impl NativeBitflag for MOD

Available on crate feature user only.
source§

impl NativeBitflag for MOUSEEVENTF

Available on crate feature user only.
source§

impl NativeBitflag for NIF

Available on crate feature shell only.
source§

impl NativeBitflag for NIIF

Available on crate feature shell only.
source§

impl NativeBitflag for NIS

Available on crate feature shell only.
source§

impl NativeBitflag for ODA

Available on crate feature user only.
source§

impl NativeBitflag for ODS

Available on crate feature user only.
source§

impl NativeBitflag for PBS

Available on crate feature comctl only.
source§

impl NativeBitflag for PM

Available on crate feature user only.
source§

impl NativeBitflag for PRIORITY_CLASS

source§

impl NativeBitflag for PROCESS

source§

impl NativeBitflag for PROCESS_AFFINITY

source§

impl NativeBitflag for PROCESS_HEAP

source§

impl NativeBitflag for QS

Available on crate feature user only.
source§

impl NativeBitflag for RBS

Available on crate feature comctl only.
source§

impl NativeBitflag for RDW

Available on crate feature user only.
source§

impl NativeBitflag for REG_OPTION

source§

impl NativeBitflag for REPLACEFILE

source§

impl NativeBitflag for RRF

source§

impl NativeBitflag for SBARS

Available on crate feature comctl only.
source§

impl NativeBitflag for SCROLLW

Available on crate feature user only.
source§

impl NativeBitflag for SC_MANAGER

source§

impl NativeBitflag for SE

source§

impl NativeBitflag for SECTION

source§

impl NativeBitflag for SECURITY_IMPERSONATION

source§

impl NativeBitflag for SECURITY_INFORMATION

source§

impl NativeBitflag for SEE_MASK

Available on crate feature shell only.
source§

impl NativeBitflag for SERVICE

source§

impl NativeBitflag for SERVICE_ACCEPT

source§

impl NativeBitflag for SERVICE_CONTROL

source§

impl NativeBitflag for SE_PRIV_ATTR

source§

impl NativeBitflag for SFGAO

Available on crate feature shell only.
source§

impl NativeBitflag for SHGFI

Available on crate feature shell only.
source§

impl NativeBitflag for SHGSI

Available on crate feature shell only.
source§

impl NativeBitflag for SHTDN_REASON

source§

impl NativeBitflag for SIF

Available on crate feature user only.
source§

impl NativeBitflag for SLGP

Available on crate feature shell only.
source§

impl NativeBitflag for SLR

Available on crate feature shell only.
source§

impl NativeBitflag for SMTO

Available on crate feature user only.
source§

impl NativeBitflag for SPIF

Available on crate feature user only.
source§

impl NativeBitflag for SS

Available on crate feature user only.
source§

impl NativeBitflag for STANDARD_RIGHTS

source§

impl NativeBitflag for STARTF

source§

impl NativeBitflag for STATE_SYSTEM

Available on crate feature user only.
source§

impl NativeBitflag for STGC

Available on crate feature ole only.
source§

impl NativeBitflag for STGM

Available on crate feature ole only.
source§

impl NativeBitflag for SWP

Available on crate feature user only.
source§

impl NativeBitflag for TA

Available on crate feature gdi only.
source§

impl NativeBitflag for TASK_CREATION

Available on crate feature taskschd only.
source§

impl NativeBitflag for TASK_LOGON

Available on crate feature taskschd only.
source§

impl NativeBitflag for TBBF

Available on crate feature comctl only.
source§

impl NativeBitflag for TBIF

Available on crate feature comctl only.
source§

impl NativeBitflag for TBMF

Available on crate feature comctl only.
source§

impl NativeBitflag for TBS

Available on crate feature comctl only.
source§

impl NativeBitflag for TBSTATE

Available on crate feature comctl only.
source§

impl NativeBitflag for TBSTYLE_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for TCIF

Available on crate feature comctl only.
source§

impl NativeBitflag for TCIS

Available on crate feature comctl only.
source§

impl NativeBitflag for TCS

Available on crate feature comctl only.
source§

impl NativeBitflag for TCS_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for TDCBF

Available on crate feature comctl only.
source§

impl NativeBitflag for TDF

Available on crate feature comctl only.
source§

impl NativeBitflag for TH32CS

source§

impl NativeBitflag for THREAD_CREATE

source§

impl NativeBitflag for TME

Available on crate feature user only.
source§

impl NativeBitflag for TOKEN

source§

impl NativeBitflag for TPM

Available on crate feature user only.
source§

impl NativeBitflag for TRANSACTION

source§

impl NativeBitflag for TRANSACTION_OPT

source§

impl NativeBitflag for TVHT

Available on crate feature comctl only.
source§

impl NativeBitflag for TVIF

Available on crate feature comctl only.
source§

impl NativeBitflag for TVIS

Available on crate feature comctl only.
source§

impl NativeBitflag for TVIS_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for TVS

Available on crate feature comctl only.
source§

impl NativeBitflag for TVSBF

Available on crate feature comctl only.
source§

impl NativeBitflag for TVS_EX

Available on crate feature comctl only.
source§

impl NativeBitflag for UDS

Available on crate feature comctl only.
source§

impl NativeBitflag for VER_MASK

source§

impl NativeBitflag for VER_SUITE

source§

impl NativeBitflag for VS_FF

Available on crate feature version only.
source§

impl NativeBitflag for VT

Available on crate feature oleaut only.
source§

impl NativeBitflag for WC

source§

impl NativeBitflag for WPF

Available on crate feature user only.
source§

impl NativeBitflag for WS

Available on crate feature user only.
source§

impl NativeBitflag for WS_EX

Available on crate feature user only.
source§

impl NativeBitflag for WVR

Available on crate feature user only.