pub struct GeometrySelectionContext<'a> { /* private fields */ }Expand description
Context passed to geometry-level selection predicates.
Implementations§
Source§impl<'a> GeometrySelectionContext<'a>
impl<'a> GeometrySelectionContext<'a>
pub fn model(&self) -> &'a CityModel
pub fn cityobject_handle(&self) -> CityObjectHandle
pub fn cityobject(&self) -> &'a CityObject<OwnedStringStorage>
pub fn cityobject_id(&self) -> &'a str
pub fn geometry_handle(&self) -> GeometryHandle
pub fn geometry(&self) -> &'a Geometry<u32, OwnedStringStorage>
pub fn geometry_index(&self) -> usize
Auto Trait Implementations§
impl<'a> Freeze for GeometrySelectionContext<'a>
impl<'a> RefUnwindSafe for GeometrySelectionContext<'a>
impl<'a> Send for GeometrySelectionContext<'a>
impl<'a> Sync for GeometrySelectionContext<'a>
impl<'a> Unpin for GeometrySelectionContext<'a>
impl<'a> UnsafeUnpin for GeometrySelectionContext<'a>
impl<'a> UnwindSafe for GeometrySelectionContext<'a>
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