pub struct ResourceReferenceFlagsLegacy(/* private fields */);
Implementations§
Source§impl ResourceReferenceFlagsLegacy
impl ResourceReferenceFlagsLegacy
Sourcepub const fn runtime_acquired(&self) -> bool
pub const fn runtime_acquired(&self) -> bool
Bits: 1..2
Sourcepub const fn with_runtime_acquired_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_runtime_acquired_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_runtime_acquired(self, value: bool) -> Self
pub const fn with_runtime_acquired(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_runtime_acquired(&mut self, value: bool)
pub const fn set_runtime_acquired(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn set_runtime_acquired_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_runtime_acquired_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 1..2
Sourcepub const fn weak_reference(&self) -> bool
pub const fn weak_reference(&self) -> bool
Bits: 2..3
Sourcepub const fn with_weak_reference_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_weak_reference_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_weak_reference(self, value: bool) -> Self
pub const fn with_weak_reference(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_weak_reference(&mut self, value: bool)
pub const fn set_weak_reference(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_weak_reference_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_weak_reference_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn type_of_streaming_entity(&self) -> bool
pub const fn type_of_streaming_entity(&self) -> bool
Bits: 4..5
Sourcepub const fn with_type_of_streaming_entity_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_type_of_streaming_entity_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_type_of_streaming_entity(self, value: bool) -> Self
pub const fn with_type_of_streaming_entity(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_type_of_streaming_entity(&mut self, value: bool)
pub const fn set_type_of_streaming_entity(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_type_of_streaming_entity_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_type_of_streaming_entity_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn state_streamed(&self) -> bool
pub const fn state_streamed(&self) -> bool
Bits: 5..6
Sourcepub const fn with_state_streamed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_state_streamed_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_state_streamed(self, value: bool) -> Self
pub const fn with_state_streamed(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_state_streamed(&mut self, value: bool)
pub const fn set_state_streamed(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn set_state_streamed_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_state_streamed_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 5..6
Sourcepub const fn media_streamed(&self) -> bool
pub const fn media_streamed(&self) -> bool
Bits: 6..7
Sourcepub const fn with_media_streamed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_media_streamed_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_media_streamed(self, value: bool) -> Self
pub const fn with_media_streamed(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_media_streamed(&mut self, value: bool)
pub const fn set_media_streamed(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_media_streamed_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_media_streamed_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn install_dependency(&self) -> bool
pub const fn install_dependency(&self) -> bool
Bits: 7..8
Sourcepub const fn with_install_dependency_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_install_dependency_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_install_dependency(self, value: bool) -> Self
pub const fn with_install_dependency(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_install_dependency(&mut self, value: bool)
pub const fn set_install_dependency(&mut self, value: bool)
Bits: 7..8
Trait Implementations§
Source§impl BinRead for ResourceReferenceFlagsLegacy
impl BinRead for ResourceReferenceFlagsLegacy
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl BinWrite for ResourceReferenceFlagsLegacy
impl BinWrite for ResourceReferenceFlagsLegacy
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self
to the writer using default arguments. Read moreSource§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self
to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self
to the writer assuming little-endian byte order. Read moreSource§fn write_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self
to the writer using the given arguments. Read moreSource§impl Clone for ResourceReferenceFlagsLegacy
impl Clone for ResourceReferenceFlagsLegacy
Source§fn clone(&self) -> ResourceReferenceFlagsLegacy
fn clone(&self) -> ResourceReferenceFlagsLegacy
Returns a copy 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 ResourceReferenceFlagsLegacy
impl Debug for ResourceReferenceFlagsLegacy
Source§impl From<ResourceReferenceFlags> for ResourceReferenceFlagsLegacy
impl From<ResourceReferenceFlags> for ResourceReferenceFlagsLegacy
Source§fn from(value: ResourceReferenceFlags) -> Self
fn from(value: ResourceReferenceFlags) -> Self
Converts to this type from the input type.
Source§impl From<ResourceReferenceFlagsLegacy> for u8
impl From<ResourceReferenceFlagsLegacy> for u8
Source§fn from(v: ResourceReferenceFlagsLegacy) -> u8
fn from(v: ResourceReferenceFlagsLegacy) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ResourceReferenceFlagsLegacy
impl From<u8> for ResourceReferenceFlagsLegacy
Source§impl PartialEq for ResourceReferenceFlagsLegacy
impl PartialEq for ResourceReferenceFlagsLegacy
Source§fn eq(&self, other: &ResourceReferenceFlagsLegacy) -> bool
fn eq(&self, other: &ResourceReferenceFlagsLegacy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl WriteEndian for ResourceReferenceFlagsLegacy
impl WriteEndian for ResourceReferenceFlagsLegacy
Source§const ENDIAN: EndianKind = binrw::meta::EndianKind::None
const ENDIAN: EndianKind = binrw::meta::EndianKind::None
The endianness of the type.
impl Copy for ResourceReferenceFlagsLegacy
impl Eq for ResourceReferenceFlagsLegacy
impl StructuralPartialEq for ResourceReferenceFlagsLegacy
Auto Trait Implementations§
impl Freeze for ResourceReferenceFlagsLegacy
impl RefUnwindSafe for ResourceReferenceFlagsLegacy
impl Send for ResourceReferenceFlagsLegacy
impl Sync for ResourceReferenceFlagsLegacy
impl Unpin for ResourceReferenceFlagsLegacy
impl UnwindSafe for ResourceReferenceFlagsLegacy
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more