pub struct SHGFI(/* private fields */);
Available on crate features
kernel
and shell
only.Expand description
SHGetFileInfo
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SHGFI
impl SHGFI
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
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 SHGFI
impl SHGFI
pub const ICON: Self = _
pub const DISPLAYNAME: Self = _
pub const TYPENAME: Self = _
pub const ATTRIBUTES: Self = _
pub const ICONLOCATION: Self = _
pub const EXETYPE: Self = _
pub const SYSICONINDEX: Self = _
pub const LINKOVERLAY: Self = _
pub const SELECTED: Self = _
pub const ATTR_SPECIFIED: Self = _
pub const LARGEICON: Self = _
pub const SMALLICON: Self = _
pub const OPENICON: Self = _
pub const SHELLICONSIZE: Self = _
pub const PIDL: Self = _
pub const USEFILEATTRIBUTES: Self = _
pub const ADDOVERLAYS: Self = _
pub const OVERLAYINDEX: Self = _
Trait Implementations§
source§impl BitAndAssign for SHGFI
impl BitAndAssign for SHGFI
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for SHGFI
impl BitOrAssign for SHGFI
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for SHGFI
impl BitXorAssign for SHGFI
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for SHGFI
impl IntUnderlying for SHGFI
source§impl NativeBitflag for SHGFI
impl NativeBitflag for SHGFI
source§impl PartialEq for SHGFI
impl PartialEq for SHGFI
impl Copy for SHGFI
impl Eq for SHGFI
impl NativeConst for SHGFI
impl Send for SHGFI
impl StructuralPartialEq for SHGFI
Auto Trait Implementations§
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