pub struct OPointFacing {
pub count: u32,
pub direction: OPointFacingDir,
}Expand description
Number of objects to spawn, and their facing direction.
Fields§
§count: u32Number of objects to spawn.
direction: OPointFacingDirWhether the same / opposite of parent, or always to the right.
Trait Implementations§
Source§impl Clone for OPointFacing
impl Clone for OPointFacing
Source§fn clone(&self) -> OPointFacing
fn clone(&self) -> OPointFacing
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 Debug for OPointFacing
impl Debug for OPointFacing
Source§impl Default for OPointFacing
impl Default for OPointFacing
Source§fn default() -> OPointFacing
fn default() -> OPointFacing
Returns the “default value” for a type. Read more
Source§impl FromStr for OPointFacing
impl FromStr for OPointFacing
Source§type Err = ParseIntError
type Err = ParseIntError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<OPointFacing, ParseIntError>
fn from_str(s: &str) -> Result<OPointFacing, ParseIntError>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for OPointFacing
impl PartialEq for OPointFacing
impl Copy for OPointFacing
impl Eq for OPointFacing
impl StructuralPartialEq for OPointFacing
Auto Trait Implementations§
impl Freeze for OPointFacing
impl RefUnwindSafe for OPointFacing
impl Send for OPointFacing
impl Sync for OPointFacing
impl Unpin for OPointFacing
impl UnwindSafe for OPointFacing
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