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 Ord for SHGFI
impl Ord for SHGFI
source§impl PartialEq for SHGFI
impl PartialEq for SHGFI
source§impl PartialOrd for SHGFI
impl PartialOrd for SHGFI
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Copy for SHGFI
impl Eq for SHGFI
impl NativeConst for SHGFI
impl Send for SHGFI
impl StructuralPartialEq for SHGFI
Auto Trait Implementations§
impl Freeze for SHGFI
impl RefUnwindSafe for SHGFI
impl Sync for SHGFI
impl Unpin for SHGFI
impl UnwindSafe for SHGFI
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