Struct winsafe::SECURITY_ATTRIBUTES
source · #[repr(C)]pub struct SECURITY_ATTRIBUTES<'a> { /* private fields */ }
Available on crate feature
kernel
only.Expand description
SECURITY_ATTRIBUTES
struct.
Implementations§
source§impl<'a> SECURITY_ATTRIBUTES<'a>
impl<'a> SECURITY_ATTRIBUTES<'a>
sourcepub fn lpSecurityDescriptor(&self) -> Option<&'a mut SECURITY_DESCRIPTOR>
pub fn lpSecurityDescriptor(&self) -> Option<&'a mut SECURITY_DESCRIPTOR>
Returns the pointer field.
sourcepub fn set_lpSecurityDescriptor(
&mut self,
obj: Option<&'a mut SECURITY_DESCRIPTOR>
)
pub fn set_lpSecurityDescriptor( &mut self, obj: Option<&'a mut SECURITY_DESCRIPTOR> )
Sets the pointer field.
sourcepub const fn bInheritHandle(&self) -> bool
pub const fn bInheritHandle(&self) -> bool
Returns the bool field.
sourcepub fn set_bInheritHandle(&mut self, val: bool)
pub fn set_bInheritHandle(&mut self, val: bool)
Sets the bool field.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SECURITY_ATTRIBUTES<'a>
impl<'a> RefUnwindSafe for SECURITY_ATTRIBUTES<'a>
impl<'a> !Send for SECURITY_ATTRIBUTES<'a>
impl<'a> !Sync for SECURITY_ATTRIBUTES<'a>
impl<'a> Unpin for SECURITY_ATTRIBUTES<'a>
impl<'a> !UnwindSafe for SECURITY_ATTRIBUTES<'a>
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