pub struct SHGFI(/* private fields */);
Available on crate features
kernel
and shell
only.Expand description
SHGetFileInfo
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl SHGFI
impl SHGFI
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 Ord for SHGFI
impl Ord for SHGFI
Source§impl PartialOrd for SHGFI
impl PartialOrd for SHGFI
impl Copy for SHGFI
impl Eq for SHGFI
impl StructuralPartialEq for SHGFI
Auto Trait Implementations§
impl Freeze for SHGFI
impl RefUnwindSafe for SHGFI
impl Send 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