This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn find_pane_by_direction( | |
&self, | |
session_id: EntityId, | |
direction: Direction, | |
) -> FindPaneByDirectionResult { | |
for (idx, (_, node)) in self.nodes.iter().enumerate() { | |
let res = node.pane_by_direction(session_id, direction); | |
match res { | |
FindPaneByDirectionResult::Found(_) => return res, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Tree for all of the split panes | |
/// | |
/// Holds the root node. | |
pub struct PaneData { | |
pub root: PaneNode, | |
} | |
/// Single Node in the tree of panes. | |
pub enum PaneNode { | |
/// A collection of terminals split in a specific direction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BranchNode { | |
split_direction Direction, | |
flex_ratio f32[], # this should add up to 1.0 | |
children Node[], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Node { | |
BranchNode, | |
PaneNode, | |
} | |
Direction { | |
Horizontal, | |
Vertical | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date | Open | High | Low | Close | Adj Close | Volume | |
---|---|---|---|---|---|---|---|
2016-02-09 | 1848.459961 | 1868.250000 | 1834.939941 | 1852.209961 | 1852.209961 | 5183220000 | |
2016-02-10 | 1857.099976 | 1881.599976 | 1850.319946 | 1851.859985 | 1851.859985 | 4471170000 | |
2016-02-11 | 1847.000000 | 1847.000000 | 1810.099976 | 1829.079956 | 1829.079956 | 5500800000 | |
2016-02-12 | 1833.400024 | 1864.780029 | 1833.400024 | 1864.780029 | 1864.780029 | 4696920000 | |
2016-02-16 | 1871.439941 | 1895.770020 | 1871.439941 | 1895.579956 | 1895.579956 | 4570670000 | |
2016-02-17 | 1898.800049 | 1930.680054 | 1898.800049 | 1926.819946 | 1926.819946 | 5011540000 | |
2016-02-18 | 1927.569946 | 1930.000000 | 1915.089966 | 1917.829956 | 1917.829956 | 4436490000 | |
2016-02-19 | 1916.739990 | 1918.780029 | 1902.170044 | 1917.780029 | 1917.780029 | 4142850000 | |
2016-02-22 | 1924.439941 | 1946.699951 | 1924.439941 | 1945.500000 | 1945.500000 | 4054710000 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder