fork/livesplit-core
git clone https://git.julia.blue/fork/livesplit-core
ee16b86
v0.11.0
1<!doctype html > 2< html class ="default no-js "> 3< head > 4< meta charset ="utf-8 "> 5< meta http-equiv ="X-UA-Compatible "content ="IE=edge "> 6< title > SegmentHistoryElementRefMut | livesplit</ title > 7< meta name ="description "content =""> 8< meta name ="viewport "content ="width=device-width, initial-scale=1 "> 9< link rel ="stylesheet "href ="../assets/css/main.css "> 10</ head > 11< body > 12< header > 13< div class ="tsd-page-toolbar "> 14< div class ="container "> 15< div class ="table-wrap "> 16< div class ="table-cell "id ="tsd-search "data-index ="../assets/js/search.js "data-base =".. "> 17< div class ="field "> 18< label for ="tsd-search-field "class ="tsd-widget search no-caption "> Search</ label > 19< input id ="tsd-search-field "type ="text "/> 20</ div > 21< ul class ="results "> 22< li class ="state loading "> Preparing search index...</ li > 23< li class ="state failure "> The search index is not available</ li > 24</ ul > 25< a href ="../index.html "class ="title "> livesplit</ a > 26</ div > 27< div class ="table-cell "id ="tsd-widgets "> 28< div id ="tsd-filter "> 29< a href ="# "class ="tsd-widget options no-caption "data-toggle ="options "> Options</ a > 30< div class ="tsd-filter-group "> 31< div class ="tsd-select "id ="tsd-filter-visibility "> 32< span class ="tsd-select-label "> All</ span > 33< ul class ="tsd-select-list "> 34< li data-value ="public "> Public</ li > 35< li data-value ="protected "> Public/Protected</ li > 36< li data-value ="private "class ="selected "> All</ li > 37</ ul > 38</ div > 39< input type ="checkbox "id ="tsd-filter-inherited "checked /> 40< label class ="tsd-widget "for ="tsd-filter-inherited "> Inherited</ label > 41< input type ="checkbox "id ="tsd-filter-externals "checked /> 42< label class ="tsd-widget "for ="tsd-filter-externals "> Externals</ label > 43< input type ="checkbox "id ="tsd-filter-only-exported "/> 44< label class ="tsd-widget "for ="tsd-filter-only-exported "> Only exported</ label > 45</ div > 46</ div > 47< a href ="# "class ="tsd-widget menu no-caption "data-toggle ="menu "> Menu</ a > 48</ div > 49</ div > 50</ div > 51</ div > 52< div class ="tsd-page-title "> 53< div class ="container "> 54< ul class ="tsd-breadcrumb "> 55< li > 56< a href ="../globals.html "> Globals</ a > 57</ li > 58< li > 59< a href ="segmenthistoryelementrefmut.html "> SegmentHistoryElementRefMut</ a > 60</ li > 61</ ul > 62< h1 > Class SegmentHistoryElementRefMut</ h1 > 63</ div > 64</ div > 65</ header > 66< div class ="container container-main "> 67< div class ="row "> 68< div class ="col-8 col-content "> 69< section class ="tsd-panel tsd-comment "> 70< div class ="tsd-comment tsd-typography "> 71< div class ="lead "> 72< p > A segment time achieved for a segment. It is tagged with an index. Only 73 segment times with an index larger than 0 are considered times actually 74 achieved by the runner, while the others are artifacts of route changes and 75 similar algorithmic changes.</ p > 76</ div > 77</ div > 78</ section > 79< section class ="tsd-panel tsd-hierarchy "> 80< h3 > Hierarchy</ h3 > 81< ul class ="tsd-hierarchy "> 82< li > 83< a href ="segmenthistoryelementref.html "class ="tsd-signature-type "> SegmentHistoryElementRef</ a > 84< ul class ="tsd-hierarchy "> 85< li > 86< span class ="target "> SegmentHistoryElementRefMut</ span > 87< ul class ="tsd-hierarchy "> 88< li > 89< a href ="segmenthistoryelement.html "class ="tsd-signature-type "> SegmentHistoryElement</ a > 90</ li > 91</ ul > 92</ li > 93</ ul > 94</ li > 95</ ul > 96</ section > 97< section class ="tsd-panel-group tsd-index-group "> 98< h2 > Index</ h2 > 99< section class ="tsd-panel tsd-index-panel "> 100< div class ="tsd-index-content "> 101< section class ="tsd-index-section tsd-is-inherited "> 102< h3 > Constructors</ h3 > 103< ul class ="tsd-index-list "> 104< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited ">< a href ="segmenthistoryelementrefmut.html#constructor "class ="tsd-kind-icon "> constructor</ a ></ li > 105</ ul > 106</ section > 107< section class ="tsd-index-section tsd-is-inherited "> 108< h3 > Properties</ h3 > 109< ul class ="tsd-index-list "> 110< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited ">< a href ="segmenthistoryelementrefmut.html#ptr "class ="tsd-kind-icon "> ptr</ a ></ li > 111</ ul > 112</ section > 113< section class ="tsd-index-section tsd-is-inherited "> 114< h3 > Methods</ h3 > 115< ul class ="tsd-index-list "> 116< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited ">< a href ="segmenthistoryelementrefmut.html#index "class ="tsd-kind-icon "> index</ a ></ li > 117< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited ">< a href ="segmenthistoryelementrefmut.html#time "class ="tsd-kind-icon "> time</ a ></ li > 118</ ul > 119</ section > 120</ div > 121</ section > 122</ section > 123< section class ="tsd-panel-group tsd-member-group tsd-is-inherited "> 124< h2 > Constructors</ h2 > 125< section class ="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 126< a name ="constructor "class ="tsd-anchor "></ a > 127< h3 > constructor</ h3 > 128< ul class ="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 129< li class ="tsd-signature tsd-kind-icon "> new< wbr > Segment< wbr > History< wbr > Element< wbr > Ref< wbr > Mut< span class ="tsd-signature-symbol "> (</ span > ptr< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< a href ="segmenthistoryelementrefmut.html "class ="tsd-signature-type "> SegmentHistoryElementRefMut</ a ></ li > 130</ ul > 131< ul class ="tsd-descriptions "> 132< li class ="tsd-description "> 133< aside class ="tsd-sources "> 134< p > Inherited from< a href ="segmenthistoryelementref.html "> SegmentHistoryElementRef</ a > .< a href ="segmenthistoryelementref.html#constructor "> constructor</ a ></ p > 135< ul > 136< li > Defined in livesplit_core.ts:5248</ li > 137</ ul > 138</ aside > 139< div class ="tsd-comment tsd-typography "> 140< div class ="lead "> 141< p > This constructor is an implementation detail. Do not use this.</ p > 142</ div > 143</ div > 144< h4 class ="tsd-parameters-title "> Parameters</ h4 > 145< ul class ="tsd-parameters "> 146< li > 147< h5 > ptr:< span class ="tsd-signature-type "> number</ span ></ h5 > 148</ li > 149</ ul > 150< h4 class ="tsd-returns-title "> Returns< a href ="segmenthistoryelementrefmut.html "class ="tsd-signature-type "> SegmentHistoryElementRefMut</ a ></ h4 > 151</ li > 152</ ul > 153</ section > 154</ section > 155< section class ="tsd-panel-group tsd-member-group tsd-is-inherited "> 156< h2 > Properties</ h2 > 157< section class ="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited "> 158< a name ="ptr "class ="tsd-anchor "></ a > 159< h3 > ptr</ h3 > 160< div class ="tsd-signature tsd-kind-icon "> ptr< span class ="tsd-signature-symbol "> :</ span > < span class ="tsd-signature-type "> number</ span ></ div > 161< aside class ="tsd-sources "> 162< p > Inherited from< a href ="segmenthistoryelementref.html "> SegmentHistoryElementRef</ a > .< a href ="segmenthistoryelementref.html#ptr "> ptr</ a ></ p > 163< ul > 164< li > Defined in livesplit_core.ts:5228</ li > 165</ ul > 166</ aside > 167</ section > 168</ section > 169< section class ="tsd-panel-group tsd-member-group tsd-is-inherited "> 170< h2 > Methods</ h2 > 171< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 172< a name ="index "class ="tsd-anchor "></ a > 173< h3 > index</ h3 > 174< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 175< li class ="tsd-signature tsd-kind-icon "> index< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< span class ="tsd-signature-type "> number</ span ></ li > 176</ ul > 177< ul class ="tsd-descriptions "> 178< li class ="tsd-description "> 179< aside class ="tsd-sources "> 180< p > Inherited from< a href ="segmenthistoryelementref.html "> SegmentHistoryElementRef</ a > .< a href ="segmenthistoryelementref.html#index "> index</ a ></ p > 181< ul > 182< li > Defined in livesplit_core.ts:5232</ li > 183</ ul > 184</ aside > 185< div class ="tsd-comment tsd-typography "> 186< div class ="lead "> 187< p > Accesses the index of the segment history element.</ p > 188</ div > 189</ div > 190< h4 class ="tsd-returns-title "> Returns< span class ="tsd-signature-type "> number</ span ></ h4 > 191</ li > 192</ ul > 193</ section > 194< section class ="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 195< a name ="time "class ="tsd-anchor "></ a > 196< h3 > time</ h3 > 197< ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 198< li class ="tsd-signature tsd-kind-icon "> time< span class ="tsd-signature-symbol "> (</ span >< span class ="tsd-signature-symbol "> )</ span >< span class ="tsd-signature-symbol "> :</ span >< a href ="timeref.html "class ="tsd-signature-type "> TimeRef</ a ></ li > 199</ ul > 200< ul class ="tsd-descriptions "> 201< li class ="tsd-description "> 202< aside class ="tsd-sources "> 203< p > Inherited from< a href ="segmenthistoryelementref.html "> SegmentHistoryElementRef</ a > .< a href ="segmenthistoryelementref.html#time "> time</ a ></ p > 204< ul > 205< li > Defined in livesplit_core.ts:5242</ li > 206</ ul > 207</ aside > 208< div class ="tsd-comment tsd-typography "> 209< div class ="lead "> 210< p > Accesses the segment time of the segment history element.</ p > 211</ div > 212</ div > 213< h4 class ="tsd-returns-title "> Returns< a href ="timeref.html "class ="tsd-signature-type "> TimeRef</ a ></ h4 > 214</ li > 215</ ul > 216</ section > 217</ section > 218</ div > 219< div class ="col-4 col-menu menu-sticky-wrap menu-highlight "> 220< nav class ="tsd-navigation primary "> 221< ul > 222< li class ="globals "> 223< a href ="../globals.html ">< em > Globals</ em ></ a > 224</ li > 225</ ul > 226</ nav > 227< nav class ="tsd-navigation secondary menu-sticky "> 228< ul class ="before-current "> 229</ ul > 230< ul class ="current "> 231< li class ="current tsd-kind-class "> 232< a href ="segmenthistoryelementrefmut.html "class ="tsd-kind-icon "> Segment< wbr > History< wbr > Element< wbr > Ref< wbr > Mut</ a > 233< ul > 234< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited "> 235< a href ="segmenthistoryelementrefmut.html#constructor "class ="tsd-kind-icon "> constructor</ a > 236</ li > 237< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited "> 238< a href ="segmenthistoryelementrefmut.html#ptr "class ="tsd-kind-icon "> ptr</ a > 239</ li > 240< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 241< a href ="segmenthistoryelementrefmut.html#index "class ="tsd-kind-icon "> index</ a > 242</ li > 243< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited "> 244< a href ="segmenthistoryelementrefmut.html#time "class ="tsd-kind-icon "> time</ a > 245</ li > 246</ ul > 247</ li > 248</ ul > 249< ul class ="after-current "> 250</ ul > 251</ nav > 252</ div > 253</ div > 254</ div > 255< footer class ="with-border-bottom "> 256< div class ="container "> 257< h2 > Legend</ h2 > 258< div class ="tsd-legend-group "> 259< ul class ="tsd-legend "> 260< li class ="tsd-kind-module ">< span class ="tsd-kind-icon "> Module</ span ></ li > 261< li class ="tsd-kind-object-literal ">< span class ="tsd-kind-icon "> Object literal</ span ></ li > 262< li class ="tsd-kind-variable ">< span class ="tsd-kind-icon "> Variable</ span ></ li > 263< li class ="tsd-kind-function ">< span class ="tsd-kind-icon "> Function</ span ></ li > 264< li class ="tsd-kind-function tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Function with type parameter</ span ></ li > 265< li class ="tsd-kind-index-signature ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 266< li class ="tsd-kind-type-alias ">< span class ="tsd-kind-icon "> Type alias</ span ></ li > 267</ ul > 268< ul class ="tsd-legend "> 269< li class ="tsd-kind-enum ">< span class ="tsd-kind-icon "> Enumeration</ span ></ li > 270< li class ="tsd-kind-enum-member ">< span class ="tsd-kind-icon "> Enumeration member</ span ></ li > 271< li class ="tsd-kind-property tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Property</ span ></ li > 272< li class ="tsd-kind-method tsd-parent-kind-enum ">< span class ="tsd-kind-icon "> Method</ span ></ li > 273</ ul > 274< ul class ="tsd-legend "> 275< li class ="tsd-kind-interface ">< span class ="tsd-kind-icon "> Interface</ span ></ li > 276< li class ="tsd-kind-interface tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Interface with type parameter</ span ></ li > 277< li class ="tsd-kind-constructor tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 278< li class ="tsd-kind-property tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Property</ span ></ li > 279< li class ="tsd-kind-method tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Method</ span ></ li > 280< li class ="tsd-kind-index-signature tsd-parent-kind-interface ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 281</ ul > 282< ul class ="tsd-legend "> 283< li class ="tsd-kind-class ">< span class ="tsd-kind-icon "> Class</ span ></ li > 284< li class ="tsd-kind-class tsd-has-type-parameter ">< span class ="tsd-kind-icon "> Class with type parameter</ span ></ li > 285< li class ="tsd-kind-constructor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Constructor</ span ></ li > 286< li class ="tsd-kind-property tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Property</ span ></ li > 287< li class ="tsd-kind-method tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Method</ span ></ li > 288< li class ="tsd-kind-accessor tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Accessor</ span ></ li > 289< li class ="tsd-kind-index-signature tsd-parent-kind-class ">< span class ="tsd-kind-icon "> Index signature</ span ></ li > 290</ ul > 291< ul class ="tsd-legend "> 292< li class ="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited constructor</ span ></ li > 293< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited property</ span ></ li > 294< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited method</ span ></ li > 295< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited ">< span class ="tsd-kind-icon "> Inherited accessor</ span ></ li > 296</ ul > 297< ul class ="tsd-legend "> 298< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected property</ span ></ li > 299< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected method</ span ></ li > 300< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected ">< span class ="tsd-kind-icon "> Protected accessor</ span ></ li > 301</ ul > 302< ul class ="tsd-legend "> 303< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private property</ span ></ li > 304< li class ="tsd-kind-method tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private method</ span ></ li > 305< li class ="tsd-kind-accessor tsd-parent-kind-class tsd-is-private ">< span class ="tsd-kind-icon "> Private accessor</ span ></ li > 306</ ul > 307< ul class ="tsd-legend "> 308< li class ="tsd-kind-property tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static property</ span ></ li > 309< li class ="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static ">< span class ="tsd-kind-icon "> Static method</ span ></ li > 310</ ul > 311</ div > 312</ div > 313</ footer > 314< div class ="container tsd-generator "> 315< p > Generated using< a href ="http://typedoc.org/ "target ="_blank "> TypeDoc</ a ></ p > 316</ div > 317< div class ="overlay "></ div > 318< script src ="../assets/js/main.js "></ script > 319< script > if ( location . protocol == 'file:' ) document . write ( '<script src="../assets/js/search.js"><' + '/script>' );</ script > 320</ body > 321</ html >