Struct servo_url::origin::MutableOrigin
[−]
[src]
pub struct MutableOrigin(_);
A representation of an origin.
Methods
impl MutableOrigin[src]
pub fn new(origin: ImmutableOrigin) -> MutableOrigin[src]
pub fn immutable(&self) -> &ImmutableOrigin[src]
pub fn is_tuple(&self) -> bool[src]
pub fn scheme(&self) -> Option<&str>[src]
pub fn host(&self) -> Option<&Host>[src]
pub fn port(&self) -> Option<u16>[src]
pub fn same_origin(&self, other: &MutableOrigin) -> bool[src]
pub fn same_origin_domain(&self, other: &MutableOrigin) -> bool[src]
pub fn domain(&self) -> Option<Host>[src]
pub fn set_domain(&self, domain: Host)[src]
pub fn has_domain(&self) -> bool[src]
pub fn effective_domain(&self) -> Option<Host>[src]
Trait Implementations
impl Clone for MutableOrigin[src]
fn clone(&self) -> MutableOrigin[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for MutableOrigin[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for MutableOrigin
fn size_of(&self, _: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more