API ReferenceTrVector2vectorlib::TrVector2 — fields, methods, parameters and return types.Copy Textpub struct TrVector2 A sensor offset (tr_vector2): x along the way the sensor faces, y across it. View source FieldsCopy Anchor Link PropTypexf32yf32 MethodsCopy Anchor Link PropTypenew?pub const fn new(x: f32, y: f32) -> Self newCopy Anchor Link Copy Textpub const fn new(x: f32, y: f32) -> Self A vector. Parameters PropTypexf32yf32 Returns Copy TextSelf View sourcePrevious PageTrVector3Next PageTrDrivebase