pub struct GetNodesBoundsOptions {
pub node_origin: (f32, f32),
pub include_hidden: bool,
pub fallback_size: Option<CanvasSize>,
}Fields§
§node_origin: (f32, f32)Node origin (anchor) used to interpret Node.pos.
(0.0, 0.0)meansposis top-left.(0.5, 0.5)meansposis center.
Whether to include hidden nodes.
fallback_size: Option<CanvasSize>Fallback size to use when a node has no explicit size.
When None, nodes without a size are skipped.
Trait Implementations§
Source§impl Clone for GetNodesBoundsOptions
impl Clone for GetNodesBoundsOptions
Source§fn clone(&self) -> GetNodesBoundsOptions
fn clone(&self) -> GetNodesBoundsOptions
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 GetNodesBoundsOptions
Source§impl Debug for GetNodesBoundsOptions
impl Debug for GetNodesBoundsOptions
Auto Trait Implementations§
impl Freeze for GetNodesBoundsOptions
impl RefUnwindSafe for GetNodesBoundsOptions
impl Send for GetNodesBoundsOptions
impl Sync for GetNodesBoundsOptions
impl Unpin for GetNodesBoundsOptions
impl UnsafeUnpin for GetNodesBoundsOptions
impl UnwindSafe for GetNodesBoundsOptions
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