Struct acacia::traits::Positioned  
                   
                       [−]
                   
               [src]
pub struct Positioned<O, P> {
    pub object: O,
    pub position: P,
}A positioned object
This is the most simple generic implementation of Position and serves as a wrapper for types that do not have a notion of a position themselves. It equips these with an additional generic position as an attribute.
Fields
object: O
                           The object wrapped in this type
position: P
                           The position stored along with it
Trait Implementations
impl<O: Clone, P: Clone> Clone for Positioned<O, P>[src]
fn clone(&self) -> Positioned<O, P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more