pub struct Node(/* private fields */);Implementations§
Source§impl Node
impl Node
pub fn split_pane_count(&self) -> usize
pub fn split_panes(&self) -> impl Iterator<Item = (usize, &Node)>
Source§impl Node
impl Node
pub fn input_type(&self) -> InputType
Sourcepub fn allows_text_edit(&self, text: &str) -> bool
pub fn allows_text_edit(&self, text: &str) -> bool
Check a proposed user edit, allowing incomplete numeric drafts.
Sourcepub fn accepts_text_submission(&self) -> bool
pub fn accepts_text_submission(&self) -> bool
Check whether the current value can be submitted by an editor.
Source§impl Node
impl Node
pub fn check_state(&self) -> CheckState
pub fn date(&self, name: &str) -> Option<Date>
pub fn time(&self, name: &str) -> Option<Time>
pub fn new(kind: &'static str, id: Option<&'static str>) -> Self
An empty slot keeps the generated event paths stable across conditional renders.
pub fn find(&self, id: &str) -> Option<&Node>
pub fn length(&self, name: &str) -> Option<f32>
pub fn relative_length(&self, name: &str, reference: f32) -> Option<f32>
pub fn boolean(&self, name: &str, default: bool) -> bool
pub fn text(&self, name: &str) -> Option<&str>
pub fn styled_text(&self, name: &str) -> Option<&StyledText>
pub fn strings(&self, name: &str) -> &[String]
pub fn float(&self, name: &str) -> Option<f32>
pub fn number(&self, name: &str) -> Option<f64>
pub fn orientation(&self) -> Orientation
pub fn dial_input_mode(&self) -> DialInputMode
pub fn scroll_bar_policy(&self, orientation: Orientation) -> ScrollBarPolicy
pub fn text_wrap(&self) -> TextWrap
pub fn is_password(&self) -> bool
pub fn password_masked(&self) -> bool
pub fn dialog_role(&self) -> DialogRole
pub fn swipe_side(&self) -> SwipeSide
pub fn swipe_panel(&self, side: SwipeSide) -> Option<&Node>
pub fn drawer_edge(&self) -> DrawerEdge
pub fn selection_target(&self) -> SelectionTarget
pub fn is_visible(&self) -> bool
pub fn is_modal(&self) -> bool
pub fn stack_page_index(&self) -> Option<usize>
pub fn int(&self, name: &str) -> Option<i64>
pub fn image(&self, name: &str) -> Option<Image>
pub fn image_fit(&self, name: &str) -> Option<ImageFit>
pub fn image_tile_mode(&self, name: &str) -> ImageTileMode
pub fn color(&self, name: &str) -> Option<Color>
pub fn color_scheme(&self) -> Option<ColorScheme>
pub fn at_path(&self, path: &[usize]) -> Option<&Self>
pub fn interactive_at_path(&self, path: &[usize]) -> Option<&Self>
pub fn group_checkable(&self) -> bool
pub fn group_content_enabled(&self) -> bool
Sourcepub fn row_key_at(&self, path: &[usize]) -> Option<RowKey>
pub fn row_key_at(&self, path: &[usize]) -> Option<RowKey>
Identity of the virtual row containing this scene path.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Node
impl !Send for Node
impl !Sync for Node
impl !UnwindSafe for Node
impl Forget for Node
impl Freeze for Node
impl Unpin for Node
impl UnsafeUnpin for Node
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