pub struct GroupNode { /* private fields */ }
Implementations§
Source§impl GroupNode
impl GroupNode
pub fn new( id: NodeId, x: PixelCoordinate, y: PixelCoordinate, width: PixelDimension, height: PixelDimension, color: Option<Color>, label: Option<String>, background: Option<Background>, ) -> Self
pub fn label(&self) -> Option<&String>
pub fn background(&self) -> Option<&Background>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupNode
impl<'de> Deserialize<'de> for GroupNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl GenericNodeInfo for GroupNodewhere
GenericNode: GenericNodeInfo,
impl GenericNodeInfo for GroupNodewhere
GenericNode: GenericNodeInfo,
fn id(&self) -> &NodeId
fn get_x(&self) -> PixelCoordinate
fn get_y(&self) -> PixelCoordinate
fn get_width(&self) -> PixelDimension
fn get_height(&self) -> PixelDimension
fn color(&self) -> &Option<Color>
Auto Trait Implementations§
impl Freeze for GroupNode
impl RefUnwindSafe for GroupNode
impl Send for GroupNode
impl Sync for GroupNode
impl Unpin for GroupNode
impl UnwindSafe for GroupNode
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