pub struct PathLayout {
pub path: Path,
pub elements: Vec<ElementRc>,
pub rect: LayoutRect,
pub offset_reference: Option<NamedReference>,
}
Expand description
Internal representation of a path layout
Fields§
§path: Path
§elements: Vec<ElementRc>
§rect: LayoutRect
§offset_reference: Option<NamedReference>
Trait Implementations§
Source§impl Clone for PathLayout
impl Clone for PathLayout
Source§fn clone(&self) -> PathLayout
fn clone(&self) -> PathLayout
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 PathLayout
impl Debug for PathLayout
Source§impl From<PathLayout> for Layout
impl From<PathLayout> for Layout
Source§fn from(original: PathLayout) -> Layout
fn from(original: PathLayout) -> Layout
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathLayout
impl !RefUnwindSafe for PathLayout
impl !Send for PathLayout
impl !Sync for PathLayout
impl Unpin for PathLayout
impl !UnwindSafe for PathLayout
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