[−][src]Struct lf2_parse::Bdy
Hittable body of the object.
Fields
kind: BdyKind
Only used in criminal (type 5) objects.
If you use kind: 1050
(1000 + Frame number) and the bdy is hit by some
itr
s, the object switches to frame 50.
x: i32
X coordinate.
y: i32
Y coordinate.
w: u32
Width.
h: u32
Height.
z_width: u32
Z Width extends in both directions + 1 center pixel.
zwidth: 10
means 10 pixels up, 10 pixels down, and one pixel for
center of the shadow for 21 pixels total.
Implementations
impl Bdy
[src]
pub const Z_WIDTH_DEFAULT: u32
[src]
Default Z_WIDTH
for Bdy
volumes.
Trait Implementations
impl Clone for Bdy
[src]
impl Copy for Bdy
[src]
impl Debug for Bdy
[src]
impl Default for Bdy
[src]
impl Eq for Bdy
[src]
impl PartialEq<Bdy> for Bdy
[src]
impl StructuralEq for Bdy
[src]
impl StructuralPartialEq for Bdy
[src]
impl<'i> TryFrom<Pair<'i, Rule>> for Bdy
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bdy
impl Send for Bdy
impl Sync for Bdy
impl Unpin for Bdy
impl UnwindSafe for Bdy
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,