core
::
str
Modules
pattern
traits
Structs
Bytes
CharIndices
CharRange
Chars
Lines
LinesAny
LinesAnyMap
MatchIndices
MatchIndicesInternal
Matches
MatchesInternal
ParseBoolError
RMatchIndices
RMatches
RSplit
RSplitN
RSplitTerminator
Split
SplitInternal
SplitN
SplitNInternal
SplitTerminator
Utf8Error
Traits
FromStr
StrExt
Functions
char_range_at_raw
cmp_slice
contains_nonascii
eq_slice
from_raw_parts_mut
from_utf8
from_utf8_unchecked
next_code_point
next_code_point_reverse
run_utf8_validation
slice_error_fail
unwrap_or_0
utf8_acc_cont_byte
utf8_first_byte
utf8_is_cont_byte
Function
core
::
str
::
unwrap_or_0
[
−
]
[src]
fn unwrap_or_0(opt:
Option
<&u8>) -> u8