pub struct ViewPointRef {
pub guid: Option<String>,
pub viewpoint: Option<String>,
pub snapshot: Option<String>,
pub index: Option<i32>,
pub visualization: Option<Visualization>,
}Expand description
A viewpoint attached to a topic: the camera and visibility state, plus its snapshot.
The markup side of the reference, plus the component selection of the
.bcfv document it names. Camera, visibility, and colouring geometry are
not read; see the crate-level status section.
Fields§
§guid: Option<String>The viewpoint’s GUID.
viewpoint: Option<String>Archive entry name of the .bcfv document.
snapshot: Option<String>Archive entry name of the snapshot image.
index: Option<i32>Sort order among a topic’s viewpoints, when given (BCF 3.0).
visualization: Option<Visualization>What the referenced .bcfv document says, when it could be read.
None when the markup names no .bcfv, names one the archive lacks
(Tolerance::DanglingReference), or names one that cannot be parsed
(Tolerance::UnreadableViewpoint).
Trait Implementations§
Source§impl Clone for ViewPointRef
impl Clone for ViewPointRef
Source§impl Debug for ViewPointRef
impl Debug for ViewPointRef
impl Eq for ViewPointRef
Source§impl PartialEq for ViewPointRef
impl PartialEq for ViewPointRef
impl StructuralPartialEq for ViewPointRef
Auto Trait Implementations§
impl Freeze for ViewPointRef
impl RefUnwindSafe for ViewPointRef
impl Send for ViewPointRef
impl Sync for ViewPointRef
impl Unpin for ViewPointRef
impl UnsafeUnpin for ViewPointRef
impl UnwindSafe for ViewPointRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.