Struct stylua_lib::Range
source · pub struct Range { /* private fields */ }
Expand description
An optional formatting range. If provided, only content within these boundaries (inclusive) will be formatted. Both boundaries are optional, and are given as byte offsets from the beginning of the file.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Range
impl<'de> Deserialize<'de> for Range
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more