pub struct AttrRsrcLockState { /* private fields */ }Expand description
VI_ATTR_RSRC_LOCK_STATE indicates the current locking state of the resource. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock.
Implementations§
Source§impl AttrRsrcLockState
impl AttrRsrcLockState
pub fn into_inner(self) -> ViAccessMode
Source§impl AttrRsrcLockState
impl AttrRsrcLockState
pub const VI_NO_LOCK: Self
pub const VI_EXCLUSIVE_LOCK: Self
pub const VI_SHARED_LOCK: Self
pub unsafe fn new_unchecked(value: ViAccessMode) -> Self
Trait Implementations§
Source§impl Clone for AttrRsrcLockState
impl Clone for AttrRsrcLockState
Source§fn clone(&self) -> AttrRsrcLockState
fn clone(&self) -> AttrRsrcLockState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttrRsrcLockState
impl Debug for AttrRsrcLockState
Source§impl Default for AttrRsrcLockState
impl Default for AttrRsrcLockState
Source§impl From<AttrRsrcLockState> for Attribute
impl From<AttrRsrcLockState> for Attribute
Source§fn from(s: AttrRsrcLockState) -> Self
fn from(s: AttrRsrcLockState) -> Self
Converts to this type from the input type.
Source§impl Hash for AttrRsrcLockState
impl Hash for AttrRsrcLockState
Source§impl Ord for AttrRsrcLockState
impl Ord for AttrRsrcLockState
Source§fn cmp(&self, other: &AttrRsrcLockState) -> Ordering
fn cmp(&self, other: &AttrRsrcLockState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AttrRsrcLockState
impl PartialEq for AttrRsrcLockState
Source§impl PartialOrd for AttrRsrcLockState
impl PartialOrd for AttrRsrcLockState
Source§impl SpecAttr for AttrRsrcLockState
impl SpecAttr for AttrRsrcLockState
impl Eq for AttrRsrcLockState
impl StructuralPartialEq for AttrRsrcLockState
Auto Trait Implementations§
impl Freeze for AttrRsrcLockState
impl RefUnwindSafe for AttrRsrcLockState
impl Send for AttrRsrcLockState
impl Sync for AttrRsrcLockState
impl Unpin for AttrRsrcLockState
impl UnwindSafe for AttrRsrcLockState
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