pub enum XyFlowDimensionsSetAttributes {
Bool(bool),
Attribute(XyFlowDimensionAttribute),
}Expand description
XyFlow’s boolean | 'width' | 'height' dimension attribute contract.
Variants§
Bool(bool)
Attribute(XyFlowDimensionAttribute)
Implementations§
Source§impl XyFlowDimensionsSetAttributes
impl XyFlowDimensionsSetAttributes
pub fn writes_width(self) -> bool
pub fn writes_height(self) -> bool
Trait Implementations§
Source§impl Clone for XyFlowDimensionsSetAttributes
impl Clone for XyFlowDimensionsSetAttributes
Source§fn clone(&self) -> XyFlowDimensionsSetAttributes
fn clone(&self) -> XyFlowDimensionsSetAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XyFlowDimensionsSetAttributes
Source§impl<'de> Deserialize<'de> for XyFlowDimensionsSetAttributes
impl<'de> Deserialize<'de> for XyFlowDimensionsSetAttributes
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
Auto Trait Implementations§
impl Freeze for XyFlowDimensionsSetAttributes
impl RefUnwindSafe for XyFlowDimensionsSetAttributes
impl Send for XyFlowDimensionsSetAttributes
impl Sync for XyFlowDimensionsSetAttributes
impl Unpin for XyFlowDimensionsSetAttributes
impl UnsafeUnpin for XyFlowDimensionsSetAttributes
impl UnwindSafe for XyFlowDimensionsSetAttributes
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