Struct winsafe::SHFILEOPSTRUCT
source · #[repr(C)]pub struct SHFILEOPSTRUCT<'a, 'b, 'c> {
pub hwnd: HWND,
pub wFunc: FO,
pub fFlags: FOF,
/* private fields */
}
Available on crate feature
shell
only.Expand description
SHFILEOPSTRUCT
struct.
Fields§
§hwnd: HWND
§wFunc: FO
§fFlags: FOF
Implementations§
source§impl<'a, 'b, 'c> SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> SHFILEOPSTRUCT<'a, 'b, 'c>
sourcepub const fn fAnyOperationsAborted(&self) -> bool
pub const fn fAnyOperationsAborted(&self) -> bool
Returns the bool field.
sourcepub fn set_fAnyOperationsAborted(&mut self, val: bool)
pub fn set_fAnyOperationsAborted(&mut self, val: bool)
Sets the bool field.
sourcepub fn set_pFrom(&mut self, val: Option<&'a mut WString>)
pub fn set_pFrom(&mut self, val: Option<&'a mut WString>)
Sets the pFrom
field.
Note: You must create the string with
WString::from_str_vec
.
sourcepub fn set_pTo(&mut self, val: Option<&'b mut WString>)
pub fn set_pTo(&mut self, val: Option<&'b mut WString>)
Sets the pTo
field.
Note: You must create the string with
WString::from_str_vec
.
sourcepub fn lpszProgressTitle(&self) -> Option<String>
pub fn lpszProgressTitle(&self) -> Option<String>
Returns the string field, if any.
sourcepub fn set_lpszProgressTitle(&mut self, buf: Option<&'c mut WString>)
pub fn set_lpszProgressTitle(&mut self, buf: Option<&'c mut WString>)
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, 'c> Freeze for SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> RefUnwindSafe for SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> !Send for SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> !Sync for SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for SHFILEOPSTRUCT<'a, 'b, 'c>
impl<'a, 'b, 'c> !UnwindSafe for SHFILEOPSTRUCT<'a, 'b, 'c>
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