Enum rustc_target::spec::RelroLevel [−][src]
pub enum RelroLevel {
Full,
Partial,
Off,
None,
}Variants
FullPartialOffNone
Methods
impl RelroLevel[src]
impl RelroLevelTrait Implementations
impl Clone for RelroLevel[src]
impl Clone for RelroLevelfn clone(&self) -> RelroLevel[src]
fn clone(&self) -> RelroLevelReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for RelroLevel[src]
impl Copy for RelroLevelimpl Debug for RelroLevel[src]
impl Debug for RelroLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for RelroLevel[src]
impl PartialEq for RelroLevelfn eq(&self, other: &RelroLevel) -> bool[src]
fn eq(&self, other: &RelroLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Hash for RelroLevel[src]
impl Hash for RelroLevelfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Encodable for RelroLevel[src]
impl Encodable for RelroLevelimpl Decodable for RelroLevel[src]
impl Decodable for RelroLevelimpl FromStr for RelroLevel[src]
impl FromStr for RelroLeveltype Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<RelroLevel, ()>[src]
fn from_str(s: &str) -> Result<RelroLevel, ()>Parses a string s to return a value of this type. Read more
impl ToJson for RelroLevel[src]
impl ToJson for RelroLevelAuto Trait Implementations
impl Send for RelroLevel
impl Send for RelroLevelimpl Sync for RelroLevel
impl Sync for RelroLevel