pub struct HtmlShape {
pub svg_shape: Option<String>,
/* private fields */
}
Fields§
§svg_shape: Option<String>
SVG visualization of the neighbors of a shape
Implementations§
Source§impl HtmlShape
impl HtmlShape
pub fn new(name: Name, parent: Name) -> HtmlShape
pub fn add_entry(&mut self, entry: ShapeTemplateEntry)
pub fn name(&self) -> Name
pub fn entries(&self) -> impl Iterator<Item = &ShapeTemplateEntry>
pub fn add_extends(&mut self, name: &Name)
pub fn extends(&self) -> impl Iterator<Item = &Name>
pub fn merge(&mut self, other: &HtmlShape)
pub fn svg_shape(&self) -> Option<String>
pub fn set_svg_shape(&mut self, str: &str)
Trait Implementations§
impl StructuralPartialEq for HtmlShape
Auto Trait Implementations§
impl Freeze for HtmlShape
impl RefUnwindSafe for HtmlShape
impl Send for HtmlShape
impl Sync for HtmlShape
impl Unpin for HtmlShape
impl UnwindSafe for HtmlShape
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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