pub struct LineFlags { /* private fields */ }
Expand description
The various properties of a given collision segment that affect gameplay in non-physics manner, such as whether it is breakable or whether wall clings work on the given segment.
Implementations§
Source§impl LineFlags
impl LineFlags
Sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
Sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
Source§impl LineFlags
impl LineFlags
Sourcepub fn length_zero(&self) -> <bool as Specifier>::InOut
pub fn length_zero(&self) -> <bool as Specifier>::InOut
Returns the value of length_zero.
Sourcepub fn length_zero_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn length_zero_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of length_zero.
#Errors
If the returned value contains an invalid bit pattern for length_zero.
Sourcepub fn with_length_zero(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_length_zero(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of length_zero set to the given value.
#Panics
If the given value is out of bounds for length_zero.
Sourcepub fn with_length_zero_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_length_zero_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of length_zero set to the given value.
#Errors
If the given value is out of bounds for length_zero.
Sourcepub fn set_length_zero(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_length_zero(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of length_zero to the given value.
#Panics
If the given value is out of bounds for length_zero.
Sourcepub fn set_length_zero_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_length_zero_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of length_zero to the given value.
#Errors
If the given value is out of bounds for length_zero.
Sourcepub fn pacman_final_ignore(&self) -> <bool as Specifier>::InOut
pub fn pacman_final_ignore(&self) -> <bool as Specifier>::InOut
Returns the value of pacman_final_ignore.
Sourcepub fn pacman_final_ignore_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn pacman_final_ignore_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of pacman_final_ignore.
#Errors
If the returned value contains an invalid bit pattern for pacman_final_ignore.
Sourcepub fn with_pacman_final_ignore(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_pacman_final_ignore( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of pacman_final_ignore set to the given value.
#Panics
If the given value is out of bounds for pacman_final_ignore.
Sourcepub fn with_pacman_final_ignore_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_pacman_final_ignore_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of pacman_final_ignore set to the given value.
#Errors
If the given value is out of bounds for pacman_final_ignore.
Sourcepub fn set_pacman_final_ignore(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_pacman_final_ignore(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of pacman_final_ignore to the given value.
#Panics
If the given value is out of bounds for pacman_final_ignore.
Sourcepub fn set_pacman_final_ignore_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_pacman_final_ignore_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of pacman_final_ignore to the given value.
#Errors
If the given value is out of bounds for pacman_final_ignore.
Sourcepub fn fall_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn fall_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of fall.
#Errors
If the returned value contains an invalid bit pattern for fall.
Sourcepub fn with_fall(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_fall(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of fall set to the given value.
#Panics
If the given value is out of bounds for fall.
Sourcepub fn with_fall_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_fall_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of fall set to the given value.
#Errors
If the given value is out of bounds for fall.
Sourcepub fn set_fall(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_fall(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of fall to the given value.
#Panics
If the given value is out of bounds for fall.
Sourcepub fn set_fall_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_fall_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of fall to the given value.
#Errors
If the given value is out of bounds for fall.
Sourcepub fn ignore_ray_check(&self) -> <bool as Specifier>::InOut
pub fn ignore_ray_check(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_ray_check.
Sourcepub fn ignore_ray_check_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_ray_check_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_ray_check.
#Errors
If the returned value contains an invalid bit pattern for ignore_ray_check.
Sourcepub fn with_ignore_ray_check(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_ignore_ray_check(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of ignore_ray_check set to the given value.
#Panics
If the given value is out of bounds for ignore_ray_check.
Sourcepub fn with_ignore_ray_check_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_ray_check_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_ray_check set to the given value.
#Errors
If the given value is out of bounds for ignore_ray_check.
Sourcepub fn set_ignore_ray_check(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore_ray_check(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore_ray_check to the given value.
#Panics
If the given value is out of bounds for ignore_ray_check.
Sourcepub fn set_ignore_ray_check_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_ray_check_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_ray_check to the given value.
#Errors
If the given value is out of bounds for ignore_ray_check.
Sourcepub fn dive_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn dive_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of dive.
#Errors
If the returned value contains an invalid bit pattern for dive.
Sourcepub fn with_dive(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_dive(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of dive set to the given value.
#Panics
If the given value is out of bounds for dive.
Sourcepub fn with_dive_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_dive_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of dive set to the given value.
#Errors
If the given value is out of bounds for dive.
Sourcepub fn set_dive(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_dive(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of dive to the given value.
#Panics
If the given value is out of bounds for dive.
Sourcepub fn set_dive_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_dive_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of dive to the given value.
#Errors
If the given value is out of bounds for dive.
Sourcepub fn unpaintable(&self) -> <bool as Specifier>::InOut
pub fn unpaintable(&self) -> <bool as Specifier>::InOut
Returns the value of unpaintable.
Sourcepub fn unpaintable_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn unpaintable_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of unpaintable.
#Errors
If the returned value contains an invalid bit pattern for unpaintable.
Sourcepub fn with_unpaintable(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_unpaintable(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of unpaintable set to the given value.
#Panics
If the given value is out of bounds for unpaintable.
Sourcepub fn with_unpaintable_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_unpaintable_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of unpaintable set to the given value.
#Errors
If the given value is out of bounds for unpaintable.
Sourcepub fn set_unpaintable(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_unpaintable(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of unpaintable to the given value.
#Panics
If the given value is out of bounds for unpaintable.
Sourcepub fn set_unpaintable_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_unpaintable_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of unpaintable to the given value.
#Errors
If the given value is out of bounds for unpaintable.
Sourcepub fn item_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn item_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of item.
#Errors
If the returned value contains an invalid bit pattern for item.
Sourcepub fn with_item(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_item(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of item set to the given value.
#Panics
If the given value is out of bounds for item.
Sourcepub fn with_item_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_item_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of item set to the given value.
#Errors
If the given value is out of bounds for item.
Sourcepub fn set_item(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_item(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of item to the given value.
#Panics
If the given value is out of bounds for item.
Sourcepub fn set_item_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_item_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of item to the given value.
#Errors
If the given value is out of bounds for item.
Sourcepub fn ignore_fighter_other(&self) -> <bool as Specifier>::InOut
pub fn ignore_fighter_other(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_fighter_other.
Sourcepub fn ignore_fighter_other_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_fighter_other_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_fighter_other.
#Errors
If the returned value contains an invalid bit pattern for ignore_fighter_other.
Sourcepub fn with_ignore_fighter_other(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_ignore_fighter_other( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of ignore_fighter_other set to the given value.
#Panics
If the given value is out of bounds for ignore_fighter_other.
Sourcepub fn with_ignore_fighter_other_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_fighter_other_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_fighter_other set to the given value.
#Errors
If the given value is out of bounds for ignore_fighter_other.
Sourcepub fn set_ignore_fighter_other(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore_fighter_other(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore_fighter_other to the given value.
#Panics
If the given value is out of bounds for ignore_fighter_other.
Sourcepub fn set_ignore_fighter_other_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_fighter_other_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_fighter_other to the given value.
#Errors
If the given value is out of bounds for ignore_fighter_other.
Sourcepub fn right_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn right_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of right.
#Errors
If the returned value contains an invalid bit pattern for right.
Sourcepub fn with_right(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_right(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of right set to the given value.
#Panics
If the given value is out of bounds for right.
Sourcepub fn with_right_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_right_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of right set to the given value.
#Errors
If the given value is out of bounds for right.
Sourcepub fn set_right(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_right(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of right to the given value.
#Panics
If the given value is out of bounds for right.
Sourcepub fn set_right_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_right_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of right to the given value.
#Errors
If the given value is out of bounds for right.
Sourcepub fn left_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn left_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of left.
#Errors
If the returned value contains an invalid bit pattern for left.
Sourcepub fn with_left(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_left(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of left set to the given value.
#Panics
If the given value is out of bounds for left.
Sourcepub fn with_left_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_left_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of left set to the given value.
#Errors
If the given value is out of bounds for left.
Sourcepub fn set_left(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_left(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of left to the given value.
#Panics
If the given value is out of bounds for left.
Sourcepub fn set_left_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_left_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of left to the given value.
#Errors
If the given value is out of bounds for left.
Sourcepub fn upper_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn upper_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of upper.
#Errors
If the returned value contains an invalid bit pattern for upper.
Sourcepub fn with_upper(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_upper(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of upper set to the given value.
#Panics
If the given value is out of bounds for upper.
Sourcepub fn with_upper_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_upper_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of upper set to the given value.
#Errors
If the given value is out of bounds for upper.
Sourcepub fn set_upper(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_upper(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of upper to the given value.
#Panics
If the given value is out of bounds for upper.
Sourcepub fn set_upper_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_upper_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of upper to the given value.
#Errors
If the given value is out of bounds for upper.
Sourcepub fn under_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn under_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of under.
#Errors
If the returned value contains an invalid bit pattern for under.
Sourcepub fn with_under(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_under(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of under set to the given value.
#Panics
If the given value is out of bounds for under.
Sourcepub fn with_under_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_under_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of under set to the given value.
#Errors
If the given value is out of bounds for under.
Sourcepub fn set_under(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_under(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of under to the given value.
#Panics
If the given value is out of bounds for under.
Sourcepub fn set_under_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_under_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of under to the given value.
#Errors
If the given value is out of bounds for under.
Sourcepub fn not_attach(&self) -> <bool as Specifier>::InOut
pub fn not_attach(&self) -> <bool as Specifier>::InOut
Returns the value of not_attach.
Sourcepub fn not_attach_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn not_attach_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of not_attach.
#Errors
If the returned value contains an invalid bit pattern for not_attach.
Sourcepub fn with_not_attach(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_not_attach(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of not_attach set to the given value.
#Panics
If the given value is out of bounds for not_attach.
Sourcepub fn with_not_attach_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_not_attach_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of not_attach set to the given value.
#Errors
If the given value is out of bounds for not_attach.
Sourcepub fn set_not_attach(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_not_attach(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of not_attach to the given value.
#Panics
If the given value is out of bounds for not_attach.
Sourcepub fn set_not_attach_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_not_attach_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of not_attach to the given value.
#Errors
If the given value is out of bounds for not_attach.
Sourcepub fn throughable(&self) -> <bool as Specifier>::InOut
pub fn throughable(&self) -> <bool as Specifier>::InOut
Returns the value of throughable.
Sourcepub fn throughable_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn throughable_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of throughable.
#Errors
If the returned value contains an invalid bit pattern for throughable.
Sourcepub fn with_throughable(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_throughable(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of throughable set to the given value.
#Panics
If the given value is out of bounds for throughable.
Sourcepub fn with_throughable_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_throughable_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of throughable set to the given value.
#Errors
If the given value is out of bounds for throughable.
Sourcepub fn set_throughable(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_throughable(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of throughable to the given value.
#Panics
If the given value is out of bounds for throughable.
Sourcepub fn set_throughable_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_throughable_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of throughable to the given value.
#Errors
If the given value is out of bounds for throughable.
Sourcepub fn hang_l_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn hang_l_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of hang_l.
#Errors
If the returned value contains an invalid bit pattern for hang_l.
Sourcepub fn with_hang_l(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_hang_l(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of hang_l set to the given value.
#Panics
If the given value is out of bounds for hang_l.
Sourcepub fn with_hang_l_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_hang_l_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of hang_l set to the given value.
#Errors
If the given value is out of bounds for hang_l.
Sourcepub fn set_hang_l(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_hang_l(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of hang_l to the given value.
#Panics
If the given value is out of bounds for hang_l.
Sourcepub fn set_hang_l_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_hang_l_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of hang_l to the given value.
#Errors
If the given value is out of bounds for hang_l.
Sourcepub fn hang_r_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn hang_r_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of hang_r.
#Errors
If the returned value contains an invalid bit pattern for hang_r.
Sourcepub fn with_hang_r(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_hang_r(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of hang_r set to the given value.
#Panics
If the given value is out of bounds for hang_r.
Sourcepub fn with_hang_r_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_hang_r_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of hang_r set to the given value.
#Errors
If the given value is out of bounds for hang_r.
Sourcepub fn set_hang_r(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_hang_r(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of hang_r to the given value.
#Panics
If the given value is out of bounds for hang_r.
Sourcepub fn set_hang_r_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_hang_r_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of hang_r to the given value.
#Errors
If the given value is out of bounds for hang_r.
Sourcepub fn ignore_link_from_left(&self) -> <bool as Specifier>::InOut
pub fn ignore_link_from_left(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_link_from_left.
Sourcepub fn ignore_link_from_left_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_link_from_left_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_link_from_left.
#Errors
If the returned value contains an invalid bit pattern for ignore_link_from_left.
Sourcepub fn with_ignore_link_from_left(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_ignore_link_from_left( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of ignore_link_from_left set to the given value.
#Panics
If the given value is out of bounds for ignore_link_from_left.
Sourcepub fn with_ignore_link_from_left_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_link_from_left_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_link_from_left set to the given value.
#Errors
If the given value is out of bounds for ignore_link_from_left.
Sourcepub fn set_ignore_link_from_left(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore_link_from_left(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore_link_from_left to the given value.
#Panics
If the given value is out of bounds for ignore_link_from_left.
Sourcepub fn set_ignore_link_from_left_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_link_from_left_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_link_from_left to the given value.
#Errors
If the given value is out of bounds for ignore_link_from_left.
Sourcepub fn cloud_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn cloud_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of cloud.
#Errors
If the returned value contains an invalid bit pattern for cloud.
Sourcepub fn with_cloud(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_cloud(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of cloud set to the given value.
#Panics
If the given value is out of bounds for cloud.
Sourcepub fn with_cloud_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_cloud_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of cloud set to the given value.
#Errors
If the given value is out of bounds for cloud.
Sourcepub fn set_cloud(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_cloud(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of cloud to the given value.
#Panics
If the given value is out of bounds for cloud.
Sourcepub fn set_cloud_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_cloud_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of cloud to the given value.
#Errors
If the given value is out of bounds for cloud.
Sourcepub fn ignore_link_from_right(&self) -> <bool as Specifier>::InOut
pub fn ignore_link_from_right(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_link_from_right.
Sourcepub fn ignore_link_from_right_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_link_from_right_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_link_from_right.
#Errors
If the returned value contains an invalid bit pattern for ignore_link_from_right.
Sourcepub fn with_ignore_link_from_right(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_ignore_link_from_right( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of ignore_link_from_right set to the given value.
#Panics
If the given value is out of bounds for ignore_link_from_right.
Sourcepub fn with_ignore_link_from_right_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_link_from_right_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_link_from_right set to the given value.
#Errors
If the given value is out of bounds for ignore_link_from_right.
Sourcepub fn set_ignore_link_from_right(
&mut self,
new_val: <bool as Specifier>::InOut,
)
pub fn set_ignore_link_from_right( &mut self, new_val: <bool as Specifier>::InOut, )
Sets the value of ignore_link_from_right to the given value.
#Panics
If the given value is out of bounds for ignore_link_from_right.
Sourcepub fn set_ignore_link_from_right_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_link_from_right_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_link_from_right to the given value.
#Errors
If the given value is out of bounds for ignore_link_from_right.
Sourcepub fn not_expand_near_search(&self) -> <bool as Specifier>::InOut
pub fn not_expand_near_search(&self) -> <bool as Specifier>::InOut
Returns the value of not_expand_near_search.
Sourcepub fn not_expand_near_search_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn not_expand_near_search_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of not_expand_near_search.
#Errors
If the returned value contains an invalid bit pattern for not_expand_near_search.
Sourcepub fn with_not_expand_near_search(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_not_expand_near_search( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of not_expand_near_search set to the given value.
#Panics
If the given value is out of bounds for not_expand_near_search.
Sourcepub fn with_not_expand_near_search_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_not_expand_near_search_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of not_expand_near_search set to the given value.
#Errors
If the given value is out of bounds for not_expand_near_search.
Sourcepub fn set_not_expand_near_search(
&mut self,
new_val: <bool as Specifier>::InOut,
)
pub fn set_not_expand_near_search( &mut self, new_val: <bool as Specifier>::InOut, )
Sets the value of not_expand_near_search to the given value.
#Panics
If the given value is out of bounds for not_expand_near_search.
Sourcepub fn set_not_expand_near_search_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_not_expand_near_search_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of not_expand_near_search to the given value.
#Errors
If the given value is out of bounds for not_expand_near_search.
Sourcepub fn ignore_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore.
#Errors
If the returned value contains an invalid bit pattern for ignore.
Sourcepub fn with_ignore(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_ignore(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of ignore set to the given value.
#Panics
If the given value is out of bounds for ignore.
Sourcepub fn with_ignore_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore set to the given value.
#Errors
If the given value is out of bounds for ignore.
Sourcepub fn set_ignore(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore to the given value.
#Panics
If the given value is out of bounds for ignore.
Sourcepub fn set_ignore_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore to the given value.
#Errors
If the given value is out of bounds for ignore.
Sourcepub fn breakable_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn breakable_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of breakable.
#Errors
If the returned value contains an invalid bit pattern for breakable.
Sourcepub fn with_breakable(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_breakable(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of breakable set to the given value.
#Panics
If the given value is out of bounds for breakable.
Sourcepub fn with_breakable_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_breakable_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of breakable set to the given value.
#Errors
If the given value is out of bounds for breakable.
Sourcepub fn set_breakable(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_breakable(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of breakable to the given value.
#Panics
If the given value is out of bounds for breakable.
Sourcepub fn set_breakable_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_breakable_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of breakable to the given value.
#Errors
If the given value is out of bounds for breakable.
Sourcepub fn immediate_relanding_ban(&self) -> <bool as Specifier>::InOut
pub fn immediate_relanding_ban(&self) -> <bool as Specifier>::InOut
Returns the value of immediate_relanding_ban.
Sourcepub fn immediate_relanding_ban_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn immediate_relanding_ban_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of immediate_relanding_ban.
#Errors
If the returned value contains an invalid bit pattern for immediate_relanding_ban.
Sourcepub fn with_immediate_relanding_ban(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_immediate_relanding_ban( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of immediate_relanding_ban set to the given value.
#Panics
If the given value is out of bounds for immediate_relanding_ban.
Sourcepub fn with_immediate_relanding_ban_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_immediate_relanding_ban_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of immediate_relanding_ban set to the given value.
#Errors
If the given value is out of bounds for immediate_relanding_ban.
Sourcepub fn set_immediate_relanding_ban(
&mut self,
new_val: <bool as Specifier>::InOut,
)
pub fn set_immediate_relanding_ban( &mut self, new_val: <bool as Specifier>::InOut, )
Sets the value of immediate_relanding_ban to the given value.
#Panics
If the given value is out of bounds for immediate_relanding_ban.
Sourcepub fn set_immediate_relanding_ban_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_immediate_relanding_ban_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of immediate_relanding_ban to the given value.
#Errors
If the given value is out of bounds for immediate_relanding_ban.
Sourcepub fn ignore_line_type1(&self) -> <bool as Specifier>::InOut
pub fn ignore_line_type1(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_line_type1.
Sourcepub fn ignore_line_type1_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_line_type1_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_line_type1.
#Errors
If the returned value contains an invalid bit pattern for ignore_line_type1.
Sourcepub fn with_ignore_line_type1(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_ignore_line_type1(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of ignore_line_type1 set to the given value.
#Panics
If the given value is out of bounds for ignore_line_type1.
Sourcepub fn with_ignore_line_type1_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_line_type1_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_line_type1 set to the given value.
#Errors
If the given value is out of bounds for ignore_line_type1.
Sourcepub fn set_ignore_line_type1(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore_line_type1(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore_line_type1 to the given value.
#Panics
If the given value is out of bounds for ignore_line_type1.
Sourcepub fn set_ignore_line_type1_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_line_type1_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_line_type1 to the given value.
#Errors
If the given value is out of bounds for ignore_line_type1.
Sourcepub fn pickel_block(&self) -> <bool as Specifier>::InOut
pub fn pickel_block(&self) -> <bool as Specifier>::InOut
Returns the value of pickel_block.
Sourcepub fn pickel_block_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn pickel_block_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of pickel_block.
#Errors
If the returned value contains an invalid bit pattern for pickel_block.
Sourcepub fn with_pickel_block(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_pickel_block(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of pickel_block set to the given value.
#Panics
If the given value is out of bounds for pickel_block.
Sourcepub fn with_pickel_block_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_pickel_block_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of pickel_block set to the given value.
#Errors
If the given value is out of bounds for pickel_block.
Sourcepub fn set_pickel_block(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_pickel_block(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of pickel_block to the given value.
#Panics
If the given value is out of bounds for pickel_block.
Sourcepub fn set_pickel_block_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_pickel_block_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of pickel_block to the given value.
#Errors
If the given value is out of bounds for pickel_block.
Sourcepub fn deceleration(&self) -> <bool as Specifier>::InOut
pub fn deceleration(&self) -> <bool as Specifier>::InOut
Returns the value of deceleration.
Sourcepub fn deceleration_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn deceleration_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of deceleration.
#Errors
If the returned value contains an invalid bit pattern for deceleration.
Sourcepub fn with_deceleration(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_deceleration(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of deceleration set to the given value.
#Panics
If the given value is out of bounds for deceleration.
Sourcepub fn with_deceleration_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_deceleration_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of deceleration set to the given value.
#Errors
If the given value is out of bounds for deceleration.
Sourcepub fn set_deceleration(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_deceleration(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of deceleration to the given value.
#Panics
If the given value is out of bounds for deceleration.
Sourcepub fn set_deceleration_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_deceleration_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of deceleration to the given value.
#Errors
If the given value is out of bounds for deceleration.
Sourcepub fn virtual_hit_line_up(&self) -> <bool as Specifier>::InOut
pub fn virtual_hit_line_up(&self) -> <bool as Specifier>::InOut
Returns the value of virtual_hit_line_up.
Sourcepub fn virtual_hit_line_up_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn virtual_hit_line_up_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of virtual_hit_line_up.
#Errors
If the returned value contains an invalid bit pattern for virtual_hit_line_up.
Sourcepub fn with_virtual_hit_line_up(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_virtual_hit_line_up( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of virtual_hit_line_up set to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_up.
Sourcepub fn with_virtual_hit_line_up_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_virtual_hit_line_up_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_hit_line_up set to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_up.
Sourcepub fn set_virtual_hit_line_up(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_virtual_hit_line_up(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of virtual_hit_line_up to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_up.
Sourcepub fn set_virtual_hit_line_up_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_virtual_hit_line_up_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of virtual_hit_line_up to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_up.
Sourcepub fn virtual_hit_line_left(&self) -> <bool as Specifier>::InOut
pub fn virtual_hit_line_left(&self) -> <bool as Specifier>::InOut
Returns the value of virtual_hit_line_left.
Sourcepub fn virtual_hit_line_left_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn virtual_hit_line_left_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of virtual_hit_line_left.
#Errors
If the returned value contains an invalid bit pattern for virtual_hit_line_left.
Sourcepub fn with_virtual_hit_line_left(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_virtual_hit_line_left( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of virtual_hit_line_left set to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_left.
Sourcepub fn with_virtual_hit_line_left_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_virtual_hit_line_left_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_hit_line_left set to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_left.
Sourcepub fn set_virtual_hit_line_left(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_virtual_hit_line_left(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of virtual_hit_line_left to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_left.
Sourcepub fn set_virtual_hit_line_left_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_virtual_hit_line_left_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of virtual_hit_line_left to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_left.
Sourcepub fn virtual_hit_line_right(&self) -> <bool as Specifier>::InOut
pub fn virtual_hit_line_right(&self) -> <bool as Specifier>::InOut
Returns the value of virtual_hit_line_right.
Sourcepub fn virtual_hit_line_right_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn virtual_hit_line_right_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of virtual_hit_line_right.
#Errors
If the returned value contains an invalid bit pattern for virtual_hit_line_right.
Sourcepub fn with_virtual_hit_line_right(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_virtual_hit_line_right( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of virtual_hit_line_right set to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_right.
Sourcepub fn with_virtual_hit_line_right_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_virtual_hit_line_right_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_hit_line_right set to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_right.
Sourcepub fn set_virtual_hit_line_right(
&mut self,
new_val: <bool as Specifier>::InOut,
)
pub fn set_virtual_hit_line_right( &mut self, new_val: <bool as Specifier>::InOut, )
Sets the value of virtual_hit_line_right to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_right.
Sourcepub fn set_virtual_hit_line_right_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_virtual_hit_line_right_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of virtual_hit_line_right to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_right.
Sourcepub fn virtual_hit_line_down(&self) -> <bool as Specifier>::InOut
pub fn virtual_hit_line_down(&self) -> <bool as Specifier>::InOut
Returns the value of virtual_hit_line_down.
Sourcepub fn virtual_hit_line_down_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn virtual_hit_line_down_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of virtual_hit_line_down.
#Errors
If the returned value contains an invalid bit pattern for virtual_hit_line_down.
Sourcepub fn with_virtual_hit_line_down(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_virtual_hit_line_down( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of virtual_hit_line_down set to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_down.
Sourcepub fn with_virtual_hit_line_down_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_virtual_hit_line_down_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_hit_line_down set to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_down.
Sourcepub fn set_virtual_hit_line_down(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_virtual_hit_line_down(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of virtual_hit_line_down to the given value.
#Panics
If the given value is out of bounds for virtual_hit_line_down.
Sourcepub fn set_virtual_hit_line_down_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_virtual_hit_line_down_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of virtual_hit_line_down to the given value.
#Errors
If the given value is out of bounds for virtual_hit_line_down.
Sourcepub fn virtual_wall_hit_line(&self) -> <bool as Specifier>::InOut
pub fn virtual_wall_hit_line(&self) -> <bool as Specifier>::InOut
Returns the value of virtual_wall_hit_line.
Sourcepub fn virtual_wall_hit_line_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn virtual_wall_hit_line_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of virtual_wall_hit_line.
#Errors
If the returned value contains an invalid bit pattern for virtual_wall_hit_line.
Sourcepub fn with_virtual_wall_hit_line(
self,
new_val: <bool as Specifier>::InOut,
) -> Self
pub fn with_virtual_wall_hit_line( self, new_val: <bool as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of virtual_wall_hit_line set to the given value.
#Panics
If the given value is out of bounds for virtual_wall_hit_line.
Sourcepub fn with_virtual_wall_hit_line_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_virtual_wall_hit_line_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_wall_hit_line set to the given value.
#Errors
If the given value is out of bounds for virtual_wall_hit_line.
Sourcepub fn set_virtual_wall_hit_line(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_virtual_wall_hit_line(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of virtual_wall_hit_line to the given value.
#Panics
If the given value is out of bounds for virtual_wall_hit_line.
Sourcepub fn set_virtual_wall_hit_line_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_virtual_wall_hit_line_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of virtual_wall_hit_line to the given value.
#Errors
If the given value is out of bounds for virtual_wall_hit_line.
Sourcepub fn ignore_boss(&self) -> <bool as Specifier>::InOut
pub fn ignore_boss(&self) -> <bool as Specifier>::InOut
Returns the value of ignore_boss.
Sourcepub fn ignore_boss_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ignore_boss_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ignore_boss.
#Errors
If the returned value contains an invalid bit pattern for ignore_boss.
Sourcepub fn with_ignore_boss(self, new_val: <bool as Specifier>::InOut) -> Self
pub fn with_ignore_boss(self, new_val: <bool as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of ignore_boss set to the given value.
#Panics
If the given value is out of bounds for ignore_boss.
Sourcepub fn with_ignore_boss_checked(
self,
new_val: <bool as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_ignore_boss_checked( self, new_val: <bool as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of ignore_boss set to the given value.
#Errors
If the given value is out of bounds for ignore_boss.
Sourcepub fn set_ignore_boss(&mut self, new_val: <bool as Specifier>::InOut)
pub fn set_ignore_boss(&mut self, new_val: <bool as Specifier>::InOut)
Sets the value of ignore_boss to the given value.
#Panics
If the given value is out of bounds for ignore_boss.
Sourcepub fn set_ignore_boss_checked(
&mut self,
new_val: <bool as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_ignore_boss_checked( &mut self, new_val: <bool as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of ignore_boss to the given value.
#Errors
If the given value is out of bounds for ignore_boss.
Trait Implementations§
Source§impl BinRead for LineFlags
impl BinRead for LineFlags
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Self
from the reader using the given ReadOptions
and
arguments.Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Self
from the reader using default arguments.