Struct livesplit_core::run::editor::Editor
[−]
[src]
pub struct Editor { /* fields omitted */ }
Methods
impl Editor
[src]
impl Editor
[src]
fn new(run: Run) -> Result<Self, OpenError>
[src]
fn close(self) -> Run
[src]
fn selected_timing_method(&self) -> TimingMethod
[src]
fn select_timing_method(&mut self, method: TimingMethod)
[src]
fn selected_segment(&mut self) -> SegmentRow
[src]
fn unselect(&mut self, index: usize)
[src]
fn select_additionally(&mut self, index: usize)
[src]
fn select_only(&mut self, index: usize)
[src]
fn game_name(&self) -> &str
[src]
fn set_game_name<S>(&mut self, name: S) where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn category_name(&self) -> &str
[src]
fn set_category_name<S>(&mut self, name: S) where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn offset(&self) -> TimeSpan
[src]
fn set_offset(&mut self, offset: TimeSpan)
[src]
fn parse_and_set_offset<S>(&mut self, offset: S) -> Result<(), ParseError> where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn attempt_count(&self) -> u32
[src]
fn set_attempt_count(&mut self, attempts: u32)
[src]
fn parse_and_set_attempt_count<S>(
&mut self,
attempts: S
) -> Result<(), ParseIntError> where
S: AsRef<str>,
[src]
&mut self,
attempts: S
) -> Result<(), ParseIntError> where
S: AsRef<str>,
fn game_icon(&self) -> &Image
[src]
fn set_game_icon<D: Into<Image>>(&mut self, image: D)
[src]
fn remove_game_icon(&mut self)
[src]
fn custom_comparisons(&self) -> &[String]
[src]
fn insert_segment_above(&mut self)
[src]
fn insert_segment_below(&mut self)
[src]
fn can_remove_segments(&self) -> bool
[src]
fn remove_segments(&mut self)
[src]
fn can_move_segments_up(&self) -> bool
[src]
fn move_segments_up(&mut self)
[src]
fn can_move_segments_down(&self) -> bool
[src]
fn move_segments_down(&mut self)
[src]
fn add_comparison<S: Into<String>>(&mut self, comparison: S) -> Result<(), ()>
[src]
fn import_comparison<S: Into<String>>(
&mut self,
run: &Run,
comparison: S
) -> Result<(), ()>
[src]
&mut self,
run: &Run,
comparison: S
) -> Result<(), ()>