pub struct EffectPartFlags {
pub face_down_regardless_of_location_decals: bool,
pub unused: bool,
pub make_effect_work: bool,
}Fields§
§face_down_regardless_of_location_decals: bool§unused: bool§make_effect_work: boolImplementations§
Trait Implementations§
Source§impl Clone for EffectPartFlags
impl Clone for EffectPartFlags
Source§fn clone(&self) -> EffectPartFlags
fn clone(&self) -> EffectPartFlags
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 Default for EffectPartFlags
impl Default for EffectPartFlags
Source§fn default() -> EffectPartFlags
fn default() -> EffectPartFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for EffectPartFlags
impl PartialEq for EffectPartFlags
Source§impl TagSerialize for EffectPartFlags
impl TagSerialize for EffectPartFlags
Source§fn into_tag(
&self,
data: &mut Vec<u8>,
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>
fn into_tag( &self, data: &mut Vec<u8>, at: usize, struct_end: usize, ) -> ErrorMessageResult<()>
Serialize the data into tag format, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag(
data: &[u8],
at: usize,
struct_end: usize,
cursor: &mut usize,
) -> ErrorMessageResult<EffectPartFlags>
fn from_tag( data: &[u8], at: usize, struct_end: usize, cursor: &mut usize, ) -> ErrorMessageResult<EffectPartFlags>
Deserialize the data from tag format, returning an error on failure (except for allocation errors which will panic).
Source§fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
Serialize the data into tag format in little endian, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
Deserialize the data from tag format from little endian, returning an error on failure (except for allocation errors which will panic).
impl Copy for EffectPartFlags
impl StructuralPartialEq for EffectPartFlags
Auto Trait Implementations§
impl Freeze for EffectPartFlags
impl RefUnwindSafe for EffectPartFlags
impl Send for EffectPartFlags
impl Sync for EffectPartFlags
impl Unpin for EffectPartFlags
impl UnwindSafe for EffectPartFlags
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