pub struct ViewSpec<S: DomainSpace> { /* private fields */ }Implementations§
Source§impl<S: DomainSpace> ViewSpec<S>
impl<S: DomainSpace> ViewSpec<S>
pub fn new( image: ImageSpaceId, eye: Entity, mapping: impl ViewMapping<S>, ) -> Self
pub fn subject(self, subject: Entity) -> Self
Methods from Deref<Target = ViewStyle<S>>§
pub fn set_mapping(&mut self, mapping: impl ViewMapping<S>) -> &mut Self
pub fn mapping(&self) -> &dyn ViewMapping<S>
Trait Implementations§
Source§impl<S: DomainSpace> Clone for ViewSpec<S>
impl<S: DomainSpace> Clone for ViewSpec<S>
Source§impl<S: DomainSpace> Deref for ViewSpec<S>
impl<S: DomainSpace> Deref for ViewSpec<S>
Auto Trait Implementations§
impl<S> Freeze for ViewSpec<S>
impl<S> !RefUnwindSafe for ViewSpec<S>
impl<S> Send for ViewSpec<S>
impl<S> Sync for ViewSpec<S>
impl<S> Unpin for ViewSpec<S>
impl<S> UnsafeUnpin for ViewSpec<S>
impl<S> !UnwindSafe for ViewSpec<S>
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