[−][src]Struct wasi_common::wasi::types::Sdflags
Implementations
impl Sdflags
[src]
pub const RD: Sdflags
[src]
pub const WR: Sdflags
[src]
pub const fn empty() -> Self
[src]
pub const fn all() -> Self
[src]
pub fn contains(&self, other: &Sdflags) -> bool
[src]
Trait Implementations
impl BitAnd<Sdflags> for Sdflags
[src]
type Output = Self
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: Self) -> Self::Output
[src]
impl BitAndAssign<Sdflags> for Sdflags
[src]
pub fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<Sdflags> for Sdflags
[src]
type Output = Self
The resulting type after applying the |
operator.
pub fn bitor(self, rhs: Self) -> Self::Output
[src]
impl BitOrAssign<Sdflags> for Sdflags
[src]
pub fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<Sdflags> for Sdflags
[src]
type Output = Self
The resulting type after applying the ^
operator.
pub fn bitxor(self, rhs: Self) -> Self::Output
[src]
impl BitXorAssign<Sdflags> for Sdflags
[src]
pub fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for Sdflags
[src]
impl Copy for Sdflags
[src]
impl Debug for Sdflags
[src]
impl Display for Sdflags
[src]
impl Eq for Sdflags
[src]
impl From<Sdflags> for Sdflags
[src]
impl From<Sdflags> for u8
[src]
impl From<Sdflags> for i32
[src]
impl<'a> GuestType<'a> for Sdflags
[src]
pub fn guest_size() -> u32
[src]
pub fn guest_align() -> usize
[src]
pub fn read(location: &GuestPtr<'_, Sdflags>) -> Result<Sdflags, GuestError>
[src]
pub fn write(
location: &GuestPtr<'_, Sdflags>,
val: Self
) -> Result<(), GuestError>
[src]
location: &GuestPtr<'_, Sdflags>,
val: Self
) -> Result<(), GuestError>
impl<'a> GuestTypeTransparent<'a> for Sdflags
[src]
impl Hash for Sdflags
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Not for Sdflags
[src]
type Output = Self
The resulting type after applying the !
operator.
pub fn not(self) -> Self::Output
[src]
impl PartialEq<Sdflags> for Sdflags
[src]
impl StructuralEq for Sdflags
[src]
impl StructuralPartialEq for Sdflags
[src]
impl TryFrom<i32> for Sdflags
[src]
type Error = GuestError
The type returned in the event of a conversion error.
pub fn try_from(value: i32) -> Result<Sdflags, GuestError>
[src]
impl TryFrom<u8> for Sdflags
[src]
type Error = GuestError
The type returned in the event of a conversion error.
pub fn try_from(value: u8) -> Result<Self, GuestError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Sdflags
[src]
impl Send for Sdflags
[src]
impl Sync for Sdflags
[src]
impl Unpin for Sdflags
[src]
impl UnwindSafe for Sdflags
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointee for T
[src]
type Pointer = u32
pub fn debug(
pointer: <T as Pointee>::Pointer,
f: &mut Formatter<'_>
) -> Result<(), Error>
[src]
pointer: <T as Pointee>::Pointer,
f: &mut Formatter<'_>
) -> Result<(), Error>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,