Struct chromiumoxide::cdp::js_protocol::debugger::LocationRange
source · pub struct LocationRange {
pub script_id: ScriptId,
pub start: ScriptPosition,
pub end: ScriptPosition,
}Expand description
Location range within one script. LocationRange
Fields§
§script_id: ScriptId§start: ScriptPosition§end: ScriptPositionImplementations§
source§impl LocationRange
impl LocationRange
pub fn new( script_id: impl Into<ScriptId>, start: impl Into<ScriptPosition>, end: impl Into<ScriptPosition> ) -> LocationRange
source§impl LocationRange
impl LocationRange
pub fn builder() -> LocationRangeBuilder
source§impl LocationRange
impl LocationRange
pub const IDENTIFIER: &'static str = "Debugger.LocationRange"
Trait Implementations§
source§impl Clone for LocationRange
impl Clone for LocationRange
source§fn clone(&self) -> LocationRange
fn clone(&self) -> LocationRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LocationRange
impl Debug for LocationRange
source§impl<'de> Deserialize<'de> for LocationRange
impl<'de> Deserialize<'de> for LocationRange
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LocationRange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LocationRange, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LocationRange> for LocationRange
impl PartialEq<LocationRange> for LocationRange
source§fn eq(&self, other: &LocationRange) -> bool
fn eq(&self, other: &LocationRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LocationRange
impl Serialize for LocationRange
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more