pub struct LocationPolicy {
pub method: LocationMethod,
pub storey_kinds: Vec<String>,
pub space_kinds: Vec<String>,
pub containment: Vec<String>,
pub name: Option<(String, String)>,
}Expand description
A host’s location policy: the method, and what storeys and spaces are in its sources’ own vocabulary.
Storeys and spaces are objects of the named kinds (compared ignoring
case). The containment path’s steps are climbed in any order and any
number of times, stopping at each storey or space reached, as a
related selector’s steps read. An object that is itself a storey or
space is located in itself. name is the property (set, name) whose
value names a place, read natively.
Fields§
§method: LocationMethod§storey_kinds: Vec<String>§space_kinds: Vec<String>§containment: Vec<String>§name: Option<(String, String)>Trait Implementations§
Source§impl Clone for LocationPolicy
impl Clone for LocationPolicy
Source§impl Debug for LocationPolicy
impl Debug for LocationPolicy
impl Eq for LocationPolicy
Source§impl PartialEq for LocationPolicy
impl PartialEq for LocationPolicy
impl StructuralPartialEq for LocationPolicy
Auto Trait Implementations§
impl Freeze for LocationPolicy
impl RefUnwindSafe for LocationPolicy
impl Send for LocationPolicy
impl Sync for LocationPolicy
impl Unpin for LocationPolicy
impl UnsafeUnpin for LocationPolicy
impl UnwindSafe for LocationPolicy
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