pub struct CommandType(/* private fields */);Expand description
Bitmask of command types to query, mirroring
System.Management.Automation.CommandTypes.
Implementations§
Source§impl CommandType
impl CommandType
pub const ALIAS: Self
pub const FUNCTION: Self
pub const FILTER: Self
pub const CMDLET: Self
pub const EXTERNAL_SCRIPT: Self
pub const APPLICATION: Self
pub const SCRIPT: Self
pub const WORKFLOW: Self
pub const CONFIGURATION: Self
pub const ALL: Self
pub const fn empty() -> Self
pub const fn bits(self) -> u32
pub const fn contains(self, other: Self) -> bool
Trait Implementations§
Source§impl BitAnd for CommandType
impl BitAnd for CommandType
Source§impl BitOr for CommandType
impl BitOr for CommandType
Source§impl Clone for CommandType
impl Clone for CommandType
Source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
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 CommandType
impl Debug for CommandType
Source§impl PartialEq for CommandType
impl PartialEq for CommandType
impl Copy for CommandType
impl Eq for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl Freeze for CommandType
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnsafeUnpin for CommandType
impl UnwindSafe for CommandType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.