pub struct ScopeRecord {
pub name: String,
pub keys: Vec<(String, String)>,
pub parent: Option<usize>,
pub depth: u32,
pub layer: LayerId,
pub rect: Rect,
pub region: Option<u32>,
}Expand description
One scope as drawn in a pass.
Fields§
§name: String§keys: Vec<(String, String)>§parent: Option<usize>The enclosing scope, by index in the pass.
depth: u321 for a top-level scope.
layer: LayerId§rect: Rect§region: Option<u32>A region: its place in F6’s order, lowest first.
Trait Implementations§
Source§impl Clone for ScopeRecord
impl Clone for ScopeRecord
Source§fn clone(&self) -> ScopeRecord
fn clone(&self) -> ScopeRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopeRecord
impl Debug for ScopeRecord
Source§impl PartialEq for ScopeRecord
impl PartialEq for ScopeRecord
Source§impl Serialize for ScopeRecord
impl Serialize for ScopeRecord
impl StructuralPartialEq for ScopeRecord
Auto Trait Implementations§
impl Freeze for ScopeRecord
impl RefUnwindSafe for ScopeRecord
impl Send for ScopeRecord
impl Sync for ScopeRecord
impl Unpin for ScopeRecord
impl UnsafeUnpin for ScopeRecord
impl UnwindSafe for ScopeRecord
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more